ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Difference between Applet & Application?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between Applet & Application?
Answer
# 1
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 ?    13 Yes 5 No
Niranjanravi
 
  Re: Difference between Applet & Application?
Answer
# 2
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 ?    14 Yes 5 No
Chandrarekha
 
 
 
  Re: Difference between Applet & Application?
Answer
# 3
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 ?    21 Yes 2 No
Hemant
 
  Re: Difference between Applet & Application?
Answer
# 4
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 ?    5 Yes 0 No
Pankaj
 
  Re: Difference between Applet & Application?
Answer
# 5
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 ?    0 Yes 0 No
Gyana
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
which swing component is similar to rich text box in .net/vb  1
how can we use the servlet as standalone apllication?should we need to extend any class? Logica-CMG2
What is a serializable interface?  3
How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order) ProdEx-Technologies2
What is yielding and sleeping? how they different?  2
how can u handle run time exception in java? explain with brief explanation with examples? CTS2
Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding ......... Honeywell2
List interface?  2
Does garbage collection guarantee that a program will not run out of memory?  1
What modifiers can be used with a local inner class?  2
can u override the start() method of Thread class  4
what ide u r using and wat version, how wil u build the project etc ?  2
What is adapter class?  2
What are order of precedence and associativity, and how are they used?  1
how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly? Satyam1
printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ? TCS1
my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??  1
What is Transient and volatile iFlex9
I have 100 records in a table with two rows. I need to display 10 records per page like Google Search. I need only the Logic(Pagination) in Pure Java. No JSP and all..Thanks in Advance... Cybernet2
What is Vector?Can you elaborate how Vector is Thread safe?  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com