Java Programmin
Programming and Technical
Programming
Arrays
how does inheritance relate 2 abstraction?
A . a base class is an abstraction of all its derived classes
b. a derived class is an abstraction of all its base classes
d. Base & derived classes are abstractions for each other
e. Inheritance prevents abstraction
f. No relationship between them
Read Solution (Total 2)
-
- b).a derived class is an abstraction of all its base classes
- 10 years agoHelpfull: Yes(5) No(3)
- A) is the correct answer as derived class can access base class data members but vice versa is not true.
- 7 years agoHelpfull: Yes(2) No(1)
Java Programmin Other Question