Question
Create an abstract class called Phone. Phone will have only one function called callReceive(). Create a derived class called Landline and Mobile where Landline will define callReceive() so that it will show output "pick up" and similarly Mobile will show ...
in progress 0
3 years 23 Answers 490 views

Question
Create a class call house, which has two attributes(door, window). Create another two class called office and home which also have two attributes respectively table and bed. Now inherit office and home into house. Create an object of class  house ...
in progress 1
3 years 24 Answers 476 views