Miscellaneous In Java - Study Mode
[#1] Which of these methods must be made static?
Correct Answer
(A) main()
[#2] What is the process of defining more than one method in a class differentiated by parameters?
Correct Answer
(B) Function overloading
[#3] How can a protected modifier be accessed?
Correct Answer
(C) accessible within package and outside the package but through inheritance only
[#4] Which of these keywords is used to prevent content of a variable from being modified?
Correct Answer
(A) final
[#5] How do we pass command line argument in Eclipse?
Correct Answer
(A) Arguments tab