Question: A program uses two classes: Animal and Dog. Which class is the superclass and which is the subclass?
A program uses two classes: Animal and Dog. Which class is the superclass and which is the subclass?
Step by Step Solution
3.42 Rating (165 Votes )
There are 3 Steps involved in it
Animal is superclass and Dog is subclass because Do... View full answer
Get step-by-step solutions from verified subject matter experts
