1.what is the exact difference between applet and frame?
2.Do we use main method in frames?
Answer Posted / yogesh sharma
Ans 1.applet is run on web browser but frame is't.applet is not use
main() method applet is the sub class of Applet and Frame is the member Of Swing and it is member of stand alone application.
Ans 2. Yes, we use main() in Frame.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Why main function is static?
Why main method is static in java?
What is string builder?
Explain the init method?
Is integer immutable in java?
What are the escape sequences in java?
What is the difference between state-based unit testing and interaction-based unit testing?
What is the main use of generics in java?
What is Applet Stub Interface ?
What is a constructor overloading in java?
What are internal and external variables?
How can you set the applet size?
What do u mean by variable?
What is ascii format?
What is the difference between import java.util.date and java .util?