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


Please Help Members By Posting Answers For Below Questions

What is Hierarchy of exception?

836


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

789


Is java programming easy?

735


What are the high-level thread states in java programming?

824


What is garbage collection? What is the process that is responsible for doing that in java?

861


What is a hashmap used for?

885


Can a final variable be null?

750


What is string subsequence method?

856


Is .net better than java?

763


Should a main method be compulsorily declared in all java classes?

780


What do you mean by aggregation?

812


What is static variable with example?

760


What is the default execution method in java?

864


Does java map allow duplicates?

658


Is set thread safe java?

701