Answer Posted / rohit chhabra
usualy applets hv no contructors coz we do't need to create
object of the applet class...
but if one wants to create an object of an applet class,
create it in static block...This block execute before init
method..
Is This Answer Correct ? | 45 Yes | 4 No |
Post New Answer View All Answers
Can we able to pass objects as an arguments in java?
What is final int?
Is ++ operator is thread safe in java?
Explain different states of a thread in java?
Why do we use variables?
What are the types of inner classes (non-static nested class) used in java?
How do you get length in java?
How are observer and observable used in java programming?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
For class CFoo { }; what default methods will the compiler generate for you>?
What is the use of coding?
How do you add an arraylist to an array in java?
What are dot operator queries?
What is collection class in java? List down its methods and interfaces.
Why is java multithreaded?