216k views
0 votes
In Java a sub class of a/an______ can override a method of itssuper class and declare it ___________ . In that case the subclassmust be declared abstract.

Abstract class, non abstract class
non abstract class, abstract
non abstract class , reference data type
overloaded class, private

1 Answer

7 votes

Answer:

non abstract class,abstract

Step-by-step explanation:

In java a sub class of a concrete class or non abstract class can override a method of its upper class and declare it abstract . This is because it does not happen very often, but it is useful when the implementation of the method in the upper class is not valid in the subclass .

User IAmDranged
by
5.4k points