Question OOP-CLS-0022
EasyWhat is the behaviour of an object?
- A.
The file it is stored in
- B.
What it can do: the operations defined by its methods
- C.
Show answer and explanation
Answer: B
Behaviour is defined by methods, such as deposit() and withdraw() for an account.