UGC NET CS 2014 Dec – paper-3
February 19, 2024Question 8752 – Database-Management-System
February 20, 2024JAVA
Question 3 |
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.
Only (a) is TRUE. | |
Only (b) is TRUE. | |
Both (a) and (b) are TRUE. | |
Neither (a) nor (b) are TRUE. |
Question 3 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.
TRUE: A class can only inherit one class but can implement multiple interfaces.
Correct Answer: B
Question 3 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.
TRUE: A class can only inherit one class but can implement multiple interfaces.
Subscribe
Login
0 Comments