1.what is the exact difference between applet and frame?
2.Do we use main method in frames?
Answer Posted / vaishali_bharvada
the two are unrelated concepts.
An Applet is a Java program running inside a web browser,
while a Frame is a kind of window. An Applet may open a
Frame, or it might just run inside its panel.
Are you thinking of running an applet as a standalone
application inside a Frame?
| Is This Answer Correct ? | 48 Yes | 8 No |
Post New Answer View All Answers
What does serializing data mean?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
Explain the difference between transient and volatile in java?
why java uses class level type casting ?
What are thread groups?
Can we use return in constructor?
How does predicate work in java?
What is the different types of functions?
Can interface be private in java?
Differentiate storage classes on the basis of their scope?
what is the purpose of using rmisecuritymanager in rmi?
Give reasons supporting that string is immutable.
Is set thread safe java?
How does compareto method work?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.