Question: what are the different parts of java program?
Answer: class "public class Simple" Java key word. ...  Public. a java key word. ...  simple. is the name of the class. ...  public static void main(String[] args) this is a method header. ...  whats a method. a group of one or more programming statements that collectively has a name. main. ...  string literals. ...  API.