Valid main method declarations - Java Quiz Question


Which of the following declarations is valid for main method?


A
public static String main(String args[])
B
protected static void main(String args[])
C
final public static void main(String args[])
D
public static void main()
E
private static void main(String args[])