Question: please answer all the points. Question 2: (12 marks] Given the following class diagram, which of the following statements is valid (or correct)? For invalid
please answer all the points.
![please answer all the points. Question 2: (12 marks] Given the](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4e6b54dbf3_87666f4e6b4d89fa.jpg)
Question 2: (12 marks] Given the following class diagram, which of the following statements is valid (or correct)? For invalid (or incorrect) ones, explain the reason. > Person Student Section 1. 2. 3. Person p = new Person(); Person p = new Student(); There is an inheritance relationship between Section and Student All variables of Person should be declared public static final Student could have abstract methods The default value for a local variable of type Section is null 4. 5. 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
