Contents:
- What is Java Applet?
- What is Java Stand Alone Application?
Programs written in Java are categorised into Java Applets and Java Stand Alone Applications.
What is Java Applet?
- Java Applet is a small Java program that we embed into HTML document to add dynamic elements into web page such as animations, games etc.
- Java Applet program runs in client web browser window and does not use local resources like local file system or network access on client machine.
- Java Applet program does not require main() function to get executed.
What is Java Stand Alone Applications?
- Java stand alone application, also called application program, is a Java program that runs on client computer operating system independently.
- Java application program can access client’s local file system and network unlike Java Applet program.
- Java application program requires main() function to get program executed by Java Virtual Machine(JVM).
- Program such as Notepad, Calculator, Paint etc are example of Java stand alone application.
Happy Learning🙂