BPSC TRE – Java Programming & OOP Concepts | Test 1

Questions 16-20 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 16

MCQ · Single Correct 1 mark

In Java, what is an 'Interface' prior to Java 8 specifications?

Answers for question 16

Question 17

MCQ · Single Correct 1 mark

Which Java 8 feature allows interfaces to include method implementations without breaking existing implementing classes?

Answers for question 17

Question 18

MCQ · Single Correct 1 mark

What is a Functional Interface in Java?

Answers for question 18

Question 19

MCQ · Single Correct 1 mark

Which keyword is used in Java to implement an interface inside a class declaration?

Answers for question 19

Question 20

MCQ · Single Correct 1 mark

What is the default initial value of an uninitialized instance variable of reference type (e.g., Object obj;) in a Java class?

Answers for question 20
Scroll to Top