i m new in java and would like to ask a silly question. is 1 program means 1 class?? or 1 program can have many class?? for example:

public class first
public static void main (string arg[]){
code.....

public static void register (string arg[])
{ code......}

public static void sales (string arg[])
{ code....}

public static void play (string arg[])
{ code....}
}

please advice

thank you