Ask Questions & Get Answers at ibibo sawaal
     Powered by Bixee Crawl
Results 1 - 15 of about 17981 sawaal for "method"
Sort by: Recency | Relevancy

What does the static keyword mean in front of a variable? A method? A class? Curly braces ?

Here we explain static keyword in term of varriable, method, class.Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A

Posted in Computers & Technology by rocky singh at 2:05 PM on June 26, 2008

write the life cycle of applet?

to all of the messages specified in the Applet class. 5. A series of important Applet methods now gets executed, each method plays a specific role in the set-up and execution of the applet. If your applet code does not contain its own customized versions of these methods, the system will use its own "invisible", default versions instead. If you, the programmer, have supplied your own, more

Posted in Computers & Technology by blogger01 at 12:53 PM on May 23, 2008

What is the difference between Method and function in c?

well Kishor, This is all to do with polymorphism. When a virtual method is called on a reference, the actual type of the object that the reference refers to is used to decide which method implementation to use. When a method of a base class is overridden in a derived class, the version in the derived class is used, even if the calling code didnt "know" that the object was an instance

Posted in Computers & Technology by Kishor More at 4:35 PM on June 14, 2008

whats a abstract method?exp wiht a example

An abstract method is a dummy code method which has no implementation. It is often used as a placeholder to be overridden later by a subclass of or an object prototyped from the one that implements the abstract method. In this way, abstract methods help to partially specify a framework....well, A class that cannot be instantiated. A concept in C known as pure virtual method. A class that must be inherited

Posted in Computers & Technology by SUNIL . at 4:13 AM on September 28, 2008

What are native methods? How do you use them?

hi thereNative methods are used when the implementation of a particular method is present in language other than Java say C, C.To use the native methods in java we use the keyword nativepublic native methodaThis native keyword is signal to the java compiler that the implementation of this method is in a language other than java.Native methods are used when we realize that it would take up a lot

Posted in Computers & Technology by rocky singh at 2:05 PM on June 26, 2008

What is the exactly use of delegates in c?

well Kishore, A delegate is a type that references a method. Once a delegate is assigned a method, it behaves exactly like that method.A delegate declaration defines a type that encapsulates a method with a particular set of arguments and return type. For static methods, a delegate object encapsulates the method to be called. For instance methods, a delegate object encapsulates both an instance and a

Posted in Computers & Technology by Kishor More at 7:15 PM on May 21, 2008

What is static in java?

.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A static method in a superclass can be shadowed by another static method in a subclass, as long as the original method was not declared final. However, you cant override a static method with a nonstatic method. In other words, you cant change a static

Posted in Computers & Technology by rocky singh at 5:24 AM on June 22, 2008
Tags static, java

what is a abstract method in java?pls exp with a example?....its a 10 mark question in my syllabus....so pls exp in such a way that i score 10/10 marks....pls

Hi SunilAn abstract method is a method which has no implementation, means an abstract method is deliberately missing its method body.An abstract method is a method that is declared without an implementation without braces, and followed by a semicolon, like this: abstract void moveTodouble deltaX, double deltaY;If a class includes abstract methods, the class itself must be declared abstract, as in

Posted in Computers & Technology by SUNIL . at 5:11 AM on September 29, 2008

What is reflection in c

The ability to find out information about objects at run-time is called Reflection. In Reflection we can find out the objects class, details of an objects methods, and even create one dynamically to the Reflection API. It provides methods for obtaining information about a type declaration, such as the constructors, methods, fields, properties, and events of a class, as well as the module and the assembly

Posted in Computers & Technology by VAISHNAVI at 10:36 PM on June 13, 2008

what is the life cycle of servlets?

container calls the init method and passes the servlet initialization parameters to the init method. The init must be called by the servlet container before the servlet can service any request. The initialization parameters persist untill the servlet is destroyed. The init method is called only once throughout the life cycle of the servlet.The servlet will be available for service if it is loaded

Posted in Computers & Technology by blogger01 at 12:53 PM on May 23, 2008

What are Overriding Methods?

well;The new method definition must have the same method signature i.e., method name and parameters and return type. Only parameter types and return type are chosen as criteria for matching method signature. So if a subclass has its method parameters as final it doesnt really matter for method overriding scenarios as it still holds true. The new method definition cannot narrow the accessibility

Posted in Computers & Technology by Naz N at 5:13 PM on October 17, 2008

write the life cycle of applet?

hi sharad :-All applets have the following four methods: 1. public void init; 2. public void start; 3. public void stop; 4. public void destroy; 1. The browser reads the HTML page and finds any < noargs constructor. 6. The browser calls the applets init method. 7. The browser calls the applets start method. 8. While the applet is running, the browser passes any events intended for the applet, e

Posted in Computers & Technology by Sharad Singh at 9:17 PM on May 15, 2008

What is the difference between an Interface and an Abstract class?

An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods methods....There are mainly two difference between abstract class and interface.1 An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants

Posted in Computers & Technology by rocky singh at 5:19 AM on June 22, 2008

What is attributes in c

An attribute is a information which marks the elements of code such as a class or method. For example .NET framework provides the system.obsoleteAttribute attribute which can be used to mark a method as follows[we use [...] brackets to attach attributes to code elements...][System.ObsoleteA ttrib ute...]void FunThe Fun method is marked with the system.ObsoleteAttribute attribute information is inserted

Posted in Computers & Technology by Vaishnavi at 12:37 AM on June 13, 2008

What is the difference between "overloading" and "overridding"?

The difference are given below-overloading is having the functions methods with the same name but different signatures. You can find overloading in non object oriented languages like C too. Overloading acts on different data types in different ways.overriding is having a methods with same name and same signature in a parent class and the child class. You cant find overloading in non

Posted in Computers & Technology by Nawraj at 2:59 AM on June 28, 2008
Refine By Date
Refine By Categories
sawaal signature
sawaal free visiting card