Join our Telegram Channel

8000+ STATIC GK MCQs for SSC/ Railway/ PSC
1000 POLITICAL SCIENCE MCQS | EBook
Get 22 nos. GK EBooks | Combo Pack
Current Affairs Monthly Magazine -Subscribe Now!
1000 BIOLOGY MCQS AND ANSWERS | EBook
1000 ECONOMICS MCQS FOR EXAMS | EBook
Mughal Empire MCQs | EBook
ECONOMIC GEOGRAPHY MCQs | EBook
350 MCQs ON INDIAN CONSTITUTION | EBook

Objects and Classes - Objective Type Questions in Java with Answers

Questions
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]
Advertisement
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]
Advertisement

Chapters

General Knowledge

Month-wise Current Affairs 2022

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test