Write a program to declare examination results. Design three classes; student, exam, result. The student
class has data members such as roll no. and name. Create the class exam by inheriting the student class.
The exam class adds the data members representing the marks scored in six subjects. Derive the result
from exam class where it has its own data members such as total marks. Also elaborate what type of
inheritance this model belongs to?
Answers
Answered by
0
Answer:
ari koi atna bara likhta he
Similar questions