Open In App

UGC-NET | UGC NET CS 2017 Jan – III | Question 40

Like Article
Like
Save
Share
Report

Which of the following statement(s) with regard to an abstract class in JAVA is/are TRUE ?
I. An abstract class is one that is not used to create objects.
II. An abstract class is designed only to act as a base class to be inherited by other classes.
(A) Only I
(B) Only II
(C) Neither I nor II
(D) Both I and II


Answer: (D)

Explanation:
Abstract data class is not used to create objects in Java and it is designed only to act as a base class to be inherited by other classes.
Both Statement are correct.
For more information Refer:Abstract Classes in Java
Option (D) is correct.


Quiz of this Question


Last Updated : 04 Apr, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads