As i understand object of Applet class is made using reflection API.
We can not have every class as Applet because our webserver actually calls these methods so it can't remember all of them.
Even it doesn't know your class name... thats why SUN guys made the Applet/JApplet class and you extend it also there are very few methods which you can override in your class and they are executed in a sequence by webserver. Am i correct till here..
Is there any relation b/w reflection APIs and Applet/JApplet class.
why do we store the reference of this object in Applet/JApplet class (parent one) and can call only methods which are there in the parent. I beleive we define any new method in our class extending Applet then this is of no use as with the parent reference it can't be called.
can we as an end user get the actual class name.. It seems answer is not.
But i meant to say can they be called as similiar to life cycle methods - init, start, stop, destroy...
But why can't JVM call other methods too?
As i understand this applet object is stored in a reference Applet/JApplet class so call parent class (its done by JVM) And with the reference of parent you can't call the methods which you don't have in parent class thats called run timing binding as i know.