Skip to content

UGC NET CS 2017Programming Languages and Computer Graphics › Object Oriented ProgrammingVerified

UGC NET CS 2017 PYQ: Which of the following statement(s) with regard to an abstract class in JAVA is /are TRUE ? An abstract…

Which of the following statement(s) with regard to an abstract class in JAVA is /are TRUE ?

  1. An abstract class is one that is not used to create objects
  2. An abstract class is designed only to act as a base class to be inherited by other classes
  1. A
    Only I
  2. B
    only II
  3. C
    Neither I nor II
  4. D
    Both I and II
    Correct answer

Answer

(D) Both I and II

Approach

Recall the definition and purpose of an abstract class in Java.

Reviewed by UGC IQ Editorial Team.