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 double word?

547


What classes of exceptions may be thrown by a throw statement?

536


How to call one constructor from the other constructor ?

613


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

522


Can you pass by reference in java?

528






What is the Concept of Encapsulation in OOPS

562


What is square root in java?

592


What is null data type?

542


Difference between object and reference?

690


What will be the initial value of an object reference which is defined as an instance variable?

649


What is Enum in Java?

688


Is a copy constructor?

580


What is %02d?

585


when you will synchronize a piece of your code? : Java thread

537


What is token in java?

539