Implement the API methods in the service class as public instance methods.
在服务类中实现作为公共实例方法的API方法。
Implement the API methods in the controller class as public instance methods.
在控制器类中实现作为公共实例方法的API方法。
The API method implementations are defined in the controller class as public instance methods.
API方法实现是作为公共实例方法定义在控制器类中的。
With the direct dispatching approach, the API definition class is attached to the controller class, and the API methods are implemented in the controller class as public instance methods.
通过直接调度方法,可以把API定义类与控制器类绑定在一起,并且在控制器类中实现作为公共实例方法的API方法。
The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.
第一个也是最重要的新特性是针对类的方法和实例变量的访问保护 ——public、protected 和private 关键字。
The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.
第一个也是最重要的新特性是针对类的方法和实例变量的访问保护 ——public、protected 和private 关键字。
应用推荐