Difference between Application and Applet ?

Answer Posted / janet

1. Application must be run on local machine where as applet
needs no explicit installation on local machine.
2.Application must be run explicitly within java compatible
virtual machine where as applet loads and runs itself
automatically in a java enabled browser.
3. application starts execution with it's main method where
as applet starts execution with it's init method
4.application can run with or without graphical user
interface where as applet must run within graphical user
interface.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }

1841


Does java allow default arguments?

581


What is an empty list in java?

508


What are advantages of exception handling in java?

568


What is static keyword in java?

541






A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

569


What are the approaches that you will follow for making a program very efficient?

630


Are private methods final?

468


How is string stored in java?

546


What is the difference between interface & abstract class?

550


How do you call a reference in java?

504


What is io stream in java?

505


What is string intern in java?

537


What are sets in java?

494


What does system.gc() and runtime.gc() methods do?

586