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
Can we increase array size dynamically in java?
Define how does a try statement determine which catch clause should be used to handle an exception?
What do you mean by stream pipelining in java 8?
What is difference between equals and hashcode method?
How can constructor chaining be done using this keyword?
what is the difference between a threads start() and run() methods? : Java thread
How do I find and replace in word?
What is the difference between a method and a procedure?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What is difference between c++ and java ?
For class CFoo { }; what default methods will the compiler generate for you>?
Difference between abstract and concrete class ?
How many bytes is string in java?
What is oops in java?
Where are local variables stored?