Java Swing Interview Questions and Answers
Question: What is the difference between applications and applets?Answer: Application must be run explicitly within Java Virtual Machine whereas applet loads and runs itself automatically in a java-enabled browser. Application starts execution with its main method whereas applet starts execution with its init method. Application can run with or without graphical user interface whereas applet must run within a graphical user interface. In order to run an applet we need a java enabled web browser or an appletviewer. |
Is it helpful?
Yes
No
Most helpful rated by users:
- Why does it take so much time to access an Applet having Swing Components the first time?
- What\'s Java Swing?
- What are the differences between Swing and AWT?
- What is JFC?
- What is AWT?