InterviewSolution
Saved Bookmarks
| 1. |
Which among these access specifiers should be used for main() method?(a) private(b) public(c) protected(d) none of the mentioned |
|
Answer» Correct choice is (b) public To explain I would say: main() method must be specified public as it called by Csharp run time system outside of the program, by default main is private in nature if no access specifier is used. |
|