2. Following is the program which prints hello world
public class Helloworld
{
public static void main(String[] args)
{
System.out.println(“hello world”);
}
}
3. •The above is a Helloworld program.
•The program prints helloworld to the screen.
•Class name should always start with capital letter