Object Oriented Programming Practical 21
Object Oriented Programming Practical 21 Question 1 Define a class parent in which use read function, define another class child use same read function. Display the data of both the read function on output screen using virtual function. virtual.cpp C #include<iostream.h> #include<conio.h> class Parent { public: virtual void read() { cout << "Parent class read
Object Oriented Programming Practical 21 Read More »
