Q.

Which of this statement is incorrect?

A. Every class must contain a main() method.
B. Applets do not require a main() method at all.
C. There can be only one main() method in a program.
D. main() method must be made public.
Answer» A. Every class must contain a main() method.
690
0
Do you find this helpful?
9

View all MCQs in

Java Programming

Discussion

No comments yet