0

Usually, we use public static void main(String [] args); but the official java docs says we can use public static void main(String ... args); which is working fine. Then what is the difference between them. and if they are same then why we cannot define an array using ... instead of using [].

0 Answers0