Answer Posted / hemant
The differences between an applet and an application are as
follows:
1. Applets can be embedded in HTML pages and downloaded
over the Internet whereas
Applications have no special support in HTML for embedding
or downloading.
2. Applets can only be executed inside a java compatible
container, such as a browser
or appletviewer whereas Applications are executed at
command line by java.exe or jview.exe.
3. Applets execute under strict security limitations that
disallow certain operations
(sandbox model security) whereas Applications have no
inherent security restrictions.
4. Applets don’t have the main() method as in applications.
Instead they operate on an
entirely different mechanism where they are initialized by
init(),started by start(),stopped
by stop() or destroyed by destroy().
| Is This Answer Correct ? | 238 Yes | 11 No |
Post New Answer View All Answers
What do you understand by the term polymorphism?
What are access specifiers in java ?
Why vector class is used?
when to use ArrayList and when to use HashMap in webApplication.
When will you define a method as static in Java?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
How to stop a thread in java? Explain about sleep () method in a thread?
What is object-oriented programming?
What are the states of thread in java?
What does this mean java?
What are the different types of methodologies?
Which is fastest collection in java?
What are the types of literals?
What is meant by javabeans?
Why do we use threads in java?