源码简介: |
定义一个类实现银行帐户的概念,包括的属性有"帐号"和"存款余额",包括的方法有"存款"、"取款"、"查询余额"和”显示帐号”,。定义主类,创建帐户类的对象,并完成相应操作。-Define a class that implements the concept of bank accounts, including the properties of the " Account" and " deposits" , including the method " deposit" , " withdrawal" , " check balance" and " show account" . Define the main class, create an account object of the class and complete the operation.
|