Applet in Java

An applet is a small Internet-based program written in Java, which can be downloaded by any computer. Applet is already compiled .class file and it able to run in HTML. Differences between an applet and a standalone Java: 1. A … Readmore +

Category: Java

Basic Java class

Here is the basic class that will print string. Create a file with name Test.java put the following code in it. class Test { public static void main(String[] args) { System.out.println(“My first java class”); } } Go to the command … Readmore +

Category: Java