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

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

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.