This is the first java program "Hello world".After writing this code then save this code "hello.java"
public class Hello{
public static void main (String [] args){
System.out.print ln("Hello, world");
}
}
public class Hello{
public static void main (String [] args){
System.out.print ln("Hello, world");
}
}