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 are the two types of exceptions in java? Which are the differences between them?
What is the maximum size of hashmap in java?
What is bytecode verifier?
what is the use of bean managed and container managed with example?
What are checked exceptions?
Can we convert integer to string in java?
What is array sorting in java?
worst case complexities of Quick sort and Merge sort.
What is the difference between reader/writer and inputstream/output stream?
What is the method to expand and collapse nodes in a jtree?
Why put method is used?
What are the types of exceptions?
What is http client in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Difference between concurrent hashmap and hashtable and collections