Differences Between Applets and Standalone Programs?

Differences  Between   Applets  and   stand alone  programs :

Although  both  the  applets   is  stand  alone  application  are  Java  program, there are  significant   differences    between  them.

1.Applets   do  not  use   the  main ( )  method  for  initiating  the  execution  of  code  Applets, when  located, automatically  call  certain methods   of    applet  class  to  start  is  execute  the  applets can not be run   independently .They are  run  from  inside  a  webpage  using  a  special   feature  known  as   HTML   Tag.

2.  Applets   can not  read  from(or)   write  to the files  in the  local computer.

3. Applets can not communicate with other servers on the network.

4. Applets  can not  run  any  program from the  local  computer.

5. Applets  are  restricted from  using  libraries   from other  language  such as  C (or)  c++ .
Remember,  Java  language  supports   this  feature  through   native methods.


Related

Java 3584199748808837421

Post a Comment

emo-but-icon

item