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 is aggregation in java?
Can this keyword be used to refer static members?
What is the unit of plancks constant?
What is integer valueof?
What is nullpointerexception in java?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What are java packages? What's the significance of packages?
What do you mean by local class?
Can a class have multiple constructors?
what is meant wrapper classes?
What are abstract methods in java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
When do we need to use internal iteration? When do we need to use external iteration?
Can we override private method in java?
What is a class object?