Difference between Applet & Application?

Answers were Sorted based on User's Feedback



Difference between Applet & Application?..

Answer / 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

Difference between Applet & Application?..

Answer / niranjanravi

Applets must have GUI where as Applications mayn,t have GUI.
Applet starts execution after init() method where as
Applications start execution after main() method.

Is This Answer Correct ?    202 Yes 36 No

Difference between Applet & Application?..

Answer / chandrarekha

The major difference is that an application is a standalone
concept and can use the local system resources whereas an
applet is used over a network or it can be embedded in a
java enabled web browser or html page and it cannot have
the access to local system resources....

Is This Answer Correct ?    163 Yes 28 No

Difference between Applet & Application?..

Answer / gyana

Application-It is a standalone programme which is executing
in a single machine or in several machine through a network.

Applet:-
1-It is the small aplication.
2-Generally applets are used for internet application.
3-It used to make web sites.
4-It can be downloaded in internet by java compatiable web
browser just like an vidio , audio files.
5-It is more secure ,you can download it with out any fear
of viros attacks.Because java is more secure.

Is This Answer Correct ?    80 Yes 18 No

Difference between Applet & Application?..

Answer / pankaj

A Java Applet is made up of at least one public class that has to be subclasses from java.awt.Applet. Whereas, A Java application is made up of a main() method declared as public static void that accepts a string array argument,along with any other classes that main() calls.

Is This Answer Correct ?    67 Yes 13 No

Difference between Applet & Application?..

Answer / maxwell maina

Java applet is a small java program that can only be
executed from within a browser.
An application is stand alone do not need browser to run

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More Core Java Interview Questions

What value is a variable of the string type automatically initialized?

0 Answers  


why are there separate wait and sleep methods? : Java thread

0 Answers  


Why is java called the platform independent programming language?

0 Answers  


What is the purpose of stub and skeleton?

0 Answers  


What is the use of object and class classes?

0 Answers  






Similarity and difference between static block and static method ?

0 Answers  


Why enumeration is faster than iterator?

0 Answers  


What is abstraction in java?

0 Answers   Akamai Technologies,


What is string array?

0 Answers  


suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that method & i don't want to give the definition of all the methods? can it possible

6 Answers   HP, Wipro,


Can constructor be inherited?

0 Answers  


Explain the difference between abstract classes and interfaces in java?

0 Answers  


Categories