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
What is a file pointer?
Does java set allow duplicates?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
Can you start a thread twice in Java?
What is the difference between size and length in java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Which method returns the length of a string?
What is java literals?
What does void * mean?
What is stream api in java8?
What is the common usage of serialization? What exceptions occur during serialization?
Can we override static methods in java?
Write a program to check for a prime number in java?
How do you use compareto?
Can we split string with in java?