InterviewSolution
Saved Bookmarks
| 1. |
Which of these access specifiers must be used for main() method?(a) private(b) public(c) protected(d) none of the mentionedI had been asked this question at a job interview.I want to ask this question from Access Control topic in division Classes and Methods of Java |
|
Answer» The correct CHOICE is (b) public |
|