Calling Static Methods 调用静态方法
Calling Object Constructors and Methods 调用对象构造器和方法
Calling Instance Methods 调用实例方法
You can read and modify the line's properties by calling methods of the Edge class.
可以通过调用edge类的方法查看和修改直线的属性。
Because implicit objects are declared automatically, we need only use the reference variable associated with a given object to begin calling methods on it.
因为隐式对象是自动声明的,所以我们只需要使用与一个给定对象相关的引用变量来调用其方法。
If you chose this approach, the calling component would need to start a transaction prior to calling methods on the EIS facade, or an exception would be raised.
如果选择这种方法,那么在调用组件时,需要在调用EIS代理的方法之前启动一个事务,否则就会抛出异常。
And I would be able to simply bury away the details of how those other instances are created from how I want to use them by simply calling methods on the classes.
也就是一些线段的组合,我还可以把怎么实现那些,实例的细节包装起来,把它和调用实例分开来,我们下次还会接着讲这个。
应用推荐