Two Main methods with different signatures

后端 未结 10 1453
旧时难觅i
旧时难觅i 2021-01-18 17:53

I have following class.

public class Test {

    public static void main(Integer[] args) {
        System.out.println(\"This is not a main\"); 
    }   

           


        
10条回答
  •  无人共我
    2021-01-18 18:03

    For further information check this doc

    http://docs.oracle.com/javase/tutorial/getStarted/application/

    And also

    Using int Instead Of String: public static void main (int[] args)

提交回复
热议问题