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 ?
- An abstract class is one that is not used to create objects
- An abstract class is designed only to act as a base class to be inherited by other classes
- AOnly I
- Bonly II
- CNeither I nor II
- DBoth I and IICorrect 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.