GkSeries.com

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

Comment

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

Comment

Answer: Option [C]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

(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]

Comment

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

Comment

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

Comment

Answer: Option [D]

Please share this page

Chapters

Click Here to Read more questions

Teacher Eligibility Test