[code]
class JavaMenyapa{
public static void main(String[] s){
String sapa = "Hello!";
System.out.println("Java says ! "+sapa"to theWOLRD");
}
}
[/code]
code java is one of type OOP or Object Oriented Programming so it may slice into class. Where the class is the one you will call in the main program.
try it your selft, good luck.
ADSENSE HERE