确定一个类之后,应该如何设计它的方法?或者说,某一个方法应该属于哪个类?比如:
the client deposits money into the account.那么deposits方法应该是属于client还是account?
有没有什么方法来判断?