JAVA | Give four difference between applet and application.

Applet: 

1. Applet does not use main() method for initiating execution of code.
2. Applet cannot run independently. 
3. Applet cannot read from or write to files in local computer. 
4. Applet cannot communicate with other servers on network 
5. Applet are restricted from using libraries from other language such as C or C++.

Application: 

1. Application uses main() method for initiating execution of code.
2. Application can run independently.
3. Application can read from or write to files in local computer. 
4. Application can communicate with other servers on network.
5. Application are not restricted from using libraries from other language.





Post a Comment

0 Comments