77.6k views
1 vote
Java OOP Fill in the blank: An abstract class cannot be _______ but can be _________ by another class. Pick ONE option

-) inherited, instantiated
-) inherited, declared
-) instantiated, inherited
-) None of the above

User Jap Mul
by
8.7k points

1 Answer

7 votes

Final answer:

In Java OOP, an abstract class cannot be instantiated but can be inherited by another class, meaning objects of an abstract class cannot be created, but its properties and methods can be utilized by its subclasses.

Step-by-step explanation:

An abstract class in Java is a class that cannot be instantiated, which means that you cannot create an object of an abstract class directly. However, an abstract class can be inherited by another class, allowing the subclass to implement or override the abstract methods and use the provided functionalities of the abstract class.

User Goldlife
by
7.8k points