CAPE Computer Science Unit 2 · 2006 · Paper 1 · Question 6(a)
An Account class contains instance variables 'number' and 'balance', and methods 'withdraw(amount)' and 'deposit(amount)'.
Draw a class diagram representing this Account class.
The mark scheme is shown once you've answered.
Practise this question