Skip to content
Related Articles

Related Articles

UGC-NET | UGC-NET CS 2017 Nov – III | Question 41

View Discussion
Improve Article
Save Article
  • Last Updated : 21 Mar, 2018
View Discussion
Improve Article
Save Article

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.


Answer: (B)

Explanation: In JAVA, constant are not declared using ‘static’ keyword and a class can implement multiple interfaces but class can inherit one class only.
So, option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!