Object Oriented Programming Practice (Intake 41)
Create 3 classes named base, derived1,derived2. Here base class is inherited by derived1 and derived2. now write a function named void_print() in the base class which will print the message “in the base class”. and then redefined void_print() function in both derived1 and derived2.