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 a singleton factory?
Which class is used by server applications to obtain a port and listen for client requests?
If you are given the name of the function at run time how will you invoke the function?
How do you use parseint in java?
What is the byte range?
What is the requirement of thread in java?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
How can we pass argument to a function by reference instead of pass by value?
Why do we need hashset in java?
Is singleton set an interval?
What is the maximum size of arraylist in java?
Explain the difference between protected and default access.
what are synchronized methods and synchronized statements? : Java thread
What loop means?
What is the multi-catch block in java?