Which of the following signatures are valid for the main method entry point of the application?
A. public static void main()
B. public static void main(String arg[])
C. public void main(String [] arg)
D. public static void main(String [] args)
E. public static int main(String [] arg)
Answer: B, D
No comments:
Post a Comment