Question
Write a program using three classes named cricket,football and badminton where the constructor of each class takes one int and one char value as argument. The constructors contain the message"in cricket clss","in football class","in badminton class"respectively.Complete the program considering the ...
in progress 0
1 week 23 Answers 161 views

Question
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 ...
in progress 2
1 week 23 Answers 157 views

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
2 weeks 22 Answers 141 views

Question
Write a program by using two classes called A and B where the constructor of each class takes one int and one char type value as an argument and the constructor shows the message "in oop class". Complete the program ...
in progress 0
2 weeks 18 Answers 175 views

Question
Write a program that create a base class called input.This class has two int type variable called length and width. It has two virtual function called area() and perimeter(). Create two derived class called square and triangle that inherit input ...
in progress 0
2 weeks 28 Answers 181 views

Question
Write a program that creates a base class called Base.This class has two integer values named x and y which also contain one virtual function called fun(). There is also a constructor which will take a parameter to assign value ...
in progress 0
2 weeks 26 Answers 161 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
4 weeks 23 Answers 208 views

Question
If I know, for example, the sizes of A2 format, how do I get the measurements of format A1? I thought it was the double size of A2, but instead of 594x840, the sizes are 594x841...
in progress 0
2 months 1 Answer 67 views