Difference between Application and Applet ?

Answer Posted / swetcha

In simple terms, an applet runs under the control of a
browser, whereas an application runs stand-alone, with the
support of a virtual machine. As such, an applet is
subjected to more stringent security restrictions in terms
of file and network access, whereas an application can have
free reign over these resources.

Applets are great for creating dynamic and interactive web
applications, but the true power of Java lies in writing
full blown applications. With the limitation of disk and
network access, it would be difficult to write commercial
applications (though through the user of server based file
systems, not impossible). However, a Java application has
full network and local file system access, and its
potential is limited only by the creativity of its
developers.

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What interface is extended by awt event listeners?

697


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

683


What is substring in java?

699


How can you set the applet size?

697


What is the exception hierarchy in java?

574






What is the difference between the boolean & operator and the && operator in java programming?

650


What is thread count in java?

628


How transient variable is different from volatile variable?

651


What is Major and importance difference between for and foreach loop ?

672


Give an example of use of pointers in java class.

645


Explain about join() method?

639


Define an abstract class with reference to java.

655


What do you mean by composition in java?

665


What is flush () in java?

654


What do you understand by the term polymorphism?

719