Question 1
4 marksIn the code above, identify the class, one object, one attribute and one method.
Show solution and marking guidance
Indicative answer: Score is the class (1), alex is an instance (1), __points is an instance attribute (1), and getPoints is a method (1).