JOIN ADRE 2.0 Telegram Group

Core Java Objective Questions with Answers for Examinations

Questions
1 In Java Inheritance
A all fields of a class are private
B all fields of a class are protected
C a new class is derived from an existing class
D none of these above

Answer: Option [C]
2 Primary purpose of inheritance is
A code reuse
B overloading
C overriding
D ignoring irrelevant features from a software

Answer: Option [A]
Advertisement
ADRE 2.0 Mock Test - 5 Start Test
ADRE 2.0 Mock Test - 5 Start Test

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

3 Which of the following modifiers can be used to disallow a method from being overridden?
A final
B transient
C volatile
D none of these above

Answer: Option [A]
4 In Java programming an object can take many forms. This feature called
A Abstraction
B Polymorphism
C Encapsulation
D Inheritance

Answer: Option [B]
5 A method cannot be overridden if it is qualified by which one of the following modifier?
A friendly
B final
C static
D none of these above

Answer: Option [B]

ADRE 2.0 MOCK TEST

Take Mock Tests

Government Schemes Mock Test Start Test!
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!
Books & Authors - Test 2 Unlock Test!

Chapters

Advertisement