Home / Programming Questions / JAVA MCQs / Page 10
Dear candidates you will find MCQ questions of JAVA here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
R
Q. What is stored in the object obj in following lines of code? box obj;
R
Q. Which of the following is a valid declaration of an object of class Box?
R
Q. Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class.
R
Q. Variables declared with in a class are called
R
Q. Variables declared within a method or block are called
R
Q. Defining methods with same name and different no. of parameters are called
R
Q. _________ is used to initialize objects.
R
Q. What is the return type of Constructors?
Don't have account? Register here.