PREVIOUS YEAR SOLVED PAPERS - November 2017 Paper 3

Avatto > > UGC NET COMPUTER SCIENCE > > PREVIOUS YEAR SOLVED PAPERS > > 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

Related Quiz.
November 2017 Paper 3