JAVA program structure

Package name:

public class ClassName {

Data Members;
User defined methods;

public static void main(String args[])
{
Block of statements;

}

}