Join our Telegram Channel

Objects and Classes - Objective Type Questions in Java with Answers

6 Which of the following is not a wrapper class?
A Vector
B Character
C Boolean
D Integer

Answer: Option [A]
7 Which of the following method is used to initialize the instance variable of a class?
A Class
B Public
C Constructor
D Destructor

Answer: Option [C]


8 Object oriented programming method is followed in
A C programming language
B C++ programming language
C C# programming language
D Both [B] and [C]

Answer: Option [D]
9 The last statement in a finalize method should always be
A super (finalize)
B super finalize()
C finalize(method name)
D no restrictions

Answer: Option [D]
10 The methods defined by Thread class that help to manage threads are :
A joined
B stop
C getName
D all of the above

Answer: Option [D]

Take Mock Tests

Political Science Mock Test – 42 Start Test
History Test – 190 Start Test
Quantitative Aptitude Test Start Test!
Trigonometry - Mock Test Start Test!
Data Interpretation - Mock Test Start Test!
General Awareness - Mock Test Start Test!
Reasoning Ability - Mock Test Start Test!
Englist(Antonyms) Mock Test 1 Start Test!
Quantitative Aptitude (Percentage) Mock Test Start Test!
Economy Mock Test 1 Unlock Test!
Economy Mock Test 2 Unlock Test!
Economy Mock Test 3 Unlock Test!
Economy Mock Test 4 Unlock Test!
Economy Mock Test 5 Unlock Test!
Books & Authors - Test 2 Unlock Test!