UGC NET COMPUTER SCIENCE SOLVED PAPERS 2017-19 - UGC NET Computer Science November 2017 Paper 3

41. 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.

  • Option : 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.
Cancel reply
Cancel reply