Apublic void main(String[] args)
Bpublic static void main(string[] args)
Cpublic static void main()
Dnone of the above
Correct Option: 2
Explanation:
Java main method has following ways as accepted -
public static void main(String args[])
public static void main(String []args)
public static void main(String... args)