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
Which class represents the socket that both the client and server use to communicate with each other?
Which method returns the length of a string?
Explain the scope or life time of class variables or static variables?
Write a program to check string is palindrome without using loop?
Differentiate jar and war files?
Explain about transient variables in java?
What does it mean that strings are immutable?
What is array length in java?
Why is java not 100% pure oops?
Can I declare a class as private?
What is method overloading with type promotion?
What are basic data types?
Explain about sets?
What are the 6 functions?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.