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 user defined exception in Java?

615


What is ph and buffers?

526


What is the difference between break and continue statements?

553


Where is the find and replace?

538


Can a constructor be made final?

671






Define nashorn in java8.

570


Can you add null to a list java?

587


What is the most important feature of java? What is an interface?

526


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

559


what are the high-level thread states? : Java thread

562


What are some examples of variable costs?

495


What is a stack class in java ?

614


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

659


What is the difference between iterator and enumeration ?

518


What is the purpose of the enableevents() method in java programming?

595