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

Explain Data Types in Java?

Every  variable  in java  has  a  data type.  Data  type specify the  size of the memory occupied   and  type  of   va...

Program for Demonistrating LIFE CYCLE OF APPLET

import java.awt.*; import java.applet.Applet; import java.awt.event.*; import java.applet.*; public class App extends Applet implements ActionListener {       &nb...

Explan various types of constructors in Java

Constructor is a special member function whose task is to initialize the objects. Constructor is a special members function which will be called automatically whenever an o...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item