JOIN ADRE 2.0 Telegram Group

Objects and Classes - Java Multiple Choice Interview Questions with Answers

Questions
11 Which of the following is not true about constructors?
A It initializes an object immediately upon creation
B It is syntactically similar to a method
C The return type of class constructor is the class type itself
D All of the above

Answer: Option [D]
12 A default constructor has
A has no arguments
B has no return type
C has one argument but no return type
D has two arguments

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

13 When a method is made static, it cannot use
A this
B super
C Both [A] and [B]
D None the above

Answer: Option [B]
14 Which method of the thread class should be defined?
A run()
B start()
C Both [A] and [B]
D None of these above

Answer: Option [A]
15 In Java, main() method rteturns a value of type
A void
B int
C real
D string

Answer: Option [A]

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