Question 6
AQA Computer Science June 2022 Paper 1 (7517/1)A level5 marks
On the specification
- 6.1
- 4.1 Fundamentals of programming
- 6.2
- 4.1 Fundamentals of programming
- 6.3
- 4.1 Fundamentals of programming
- 6.4
- 4.1 Fundamentals of programming
Question text
6 An incomplete class diagram of the user-defined classes for part of the Skeleton Program is shown in Figure 8. Figure 8 6.1 State the type of relationship the diagram in Figure 8 shows between the class indicated by and the class indicated by . [1 mark] 6.2 State the identifier of the class indicated by in Figure 8. [1 mark] 6.3 Explain the difference between an attribute that has a public specifier and an attribute that has a protected specifier. [2 marks] 6.4 In object-oriented programming, what is meant by overriding? [1 mark]