Can Applet have constructors?

Answer Posted / roy antony arnold

Don't say like this....

Answer:
Applets don't usually have constructors because an applet
isn't guaranteed to have a full environment until its
init() method is called. For example, the Applet image
loading methods don't work inside an applet constructor, but
can be called from the init() method.

Is This Answer Correct ?    12 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is boolean law?

517


How does hashset work in java?

565


Explain the difference between the public, private, final, protected, and default modifiers?

549


What is variable length arguments in java?

514


Explain public static void main(string args[]) in java.

531






What is a methodologist?

528


Explain the difference between arraylist and linkedlist in java?

485


What is high level language in computer?

540


What is method in java ?

625


What is hashing principle in java?

549


What data type is a string?

512


Explain the inheritance?

575


What is the purpose of a volatile variable?

553


Is string a class?

555


What are wrapped classes in java programming?

583