Multiple Choice
Which of these access specifiers must be used for main() method?
A) private
B) public
C) protected
D) None of the mentioned
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: Which of these keywords are used to
Q12: Which of the following is true in
Q13: Which of the following is a valid
Q14: The use of final keyword with method
Q15: Which class cannot have a subclass in
Q17: Which of the following is a method
Q18: The keyword used to create an object<br>A)class<br>B)this<br>C)new<br>D)malloc
Q19: Variables declared with in a class are
Q20: Which operator is used by Java run
Q21: Variables declared within a method or block