Page 1 of 1

Q4 (a) (b) Based on Figure Q4(a), the derived class Result inherits all the properties from the based class Student and

Posted: Tue Jul 12, 2022 8:20 am
by answerhappygod
Q4 A B Based On Figure Q4 A The Derived Class Result Inherits All The Properties From The Based Class Student And 1
Q4 A B Based On Figure Q4 A The Derived Class Result Inherits All The Properties From The Based Class Student And 1 (38.98 KiB) Viewed 54 times
Q4 A B Based On Figure Q4 A The Derived Class Result Inherits All The Properties From The Based Class Student And 2
Q4 A B Based On Figure Q4 A The Derived Class Result Inherits All The Properties From The Based Class Student And 2 (21.65 KiB) Viewed 54 times
Q4 (a) (b) Based on Figure Q4(a), the derived class Result inherits all the properties from the based class Student and extends itself by adding some of its own features. With the aid of the diagram, write the specification for this inheritance concept. (8 marks) Write a Java program based on the given information and the specification written in Q4(a) to show the concept of inheritance. (12 marks)
● Student Student ID SetStudent ID GetStudent ID • Marks Result GetMarks ● Display Figure Q4(a): Class Diagram