answersLogoWhite

0

public class Hello
{//opens the class
public static void main(String args[])
{//opens the main method
System.out.println("Hello World");
}//closes the main method

}//closes the class







Note: The compiler all the sentences that have "//" before them.

User Avatar

Wiki User

15y ago

What else can I help you with?