UGC NET CS 2014 Dec – paper-3
February 19, 2024
Question 8752 – Database-Management-System
February 20, 2024
UGC NET CS 2014 Dec – paper-3
February 19, 2024
Question 8752 – Database-Management-System
February 20, 2024

OOPS

Question 11
Which of the following statements is/are TRUE regarding JAVA ?

(a) Constants that cannot be changed are declared using the ‘static’ keyword.

(b) A class can only inherit one class but can implement multiple interfaces.

A
Only (a) is TRUE.
B
Only (b) is TRUE.
C
Both (a) and (b) are TRUE.
D
Neither (a) nor (b) are TRUE.
Question 11 Explanation: 
FALSE: Constants that cannot be changed are declared using the ‘static’ keyword.
TRUE: A class can only inherit one class but can implement multiple interfaces.
Correct Answer: B
Question 11 Explanation: 
FALSE: Constants that cannot be changed are declared using the ‘static’ keyword.
TRUE: A class can only inherit one class but can implement multiple interfaces.

Leave a Reply

Your email address will not be published. Required fields are marked *