Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Mother & Son

Write a program with a mother class and an inherited son class. Both of them should have a method void display ()that prints a message (different for mother and daugther). In the main define a daughter and call the display() method on it.