Can Applet have constructors?

Can Applet have constructors?

Yes we can have constructors in an applet. But applets don\'t usually have constructors because an applet isn\'t guaranteed to have a full environment until its init() method is called. 

Applet constructor is just like any other constructor, they cannot be overridden.

Date:2014-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher