what is life cycle of applet?
Answers were Sorted based on User's Feedback
Answer / pkr_reddy
the lifecycle of applets are
init();
start();
paint();
stop();
destroy();
Is This Answer Correct ? | 58 Yes | 13 No |
Answer / heena mali
four of these method -
1.init()
2.start()
3.stop()
4.destroy()
-Another paint() is define by the AWT component class
-Default implementation for all of these methods are
provided
-These five method can be assemded into the skeleton.
Is This Answer Correct ? | 41 Yes | 5 No |
Answer / vimal pratap
the lifecycle of applets are
init();
start();
paint();
stop();
destroy();
Is This Answer Correct ? | 25 Yes | 5 No |
Answer / priyanka kumari
the life cycle of applet are
init()method
start(); method
paint();method
stop();method
destroy();method
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / neha
1.initialization state
2.running state
3.display state
4.stop state
5.destroy state
Is This Answer Correct ? | 4 Yes | 1 No |
Why we use static and synchronized in method for single thread model example: public static synchronized add(){}
what is the difference between the "protected and default" modifiers?
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
Inorder to specify a container?s layout, which method is used?
What is the structure of java?
What happens to a static var that is defined within a method of a class?
What are implicit objects in java?
What is method overloading and method overriding?
What does jre stand for?
Discuss about garbage collector in Java.
0 Answers Agilent, Integreon, ZS Associates,
What is the old name of java?
What is ternary operator? Give an example.