InterviewSolution
Saved Bookmarks
| 1. |
Which of these 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» Right choice is (a) Every class must contain a main() method To explain I would say: Every class does not need to have a main() method, there can be only one main() method which is made public. |
|