Using the class above, define two subclasses Student and Professor. Student subclassdisplays the name and CGPA (grade
Fantastic news! We've Found the answer you've been seeking!
Question:
Using the class above, define two subclasses Student and Professor. Student subclassdisplays the name and CGPA (grade points in float) and Professor subclass displays thename and number of publications (int). Write a main program using polymorphism todisplay the data of one student and one professor.
Posted Date: