Notice that that typically also defines for me what the internal variables are, what the internal characteristics of the class are going to be.
就放进去是比较好的,我写下了init声明意思就是,当你创建一个实例的时候,这就是你要进行的操作。
麻省理工公开课 - 计算机科学及编程导论课程节选
应用推荐
模块上移
模块下移
不移动