软件大师正在闭目修炼, 最小的一名弟子慢慢走了进来。
public final class Complex{
private final int a;
private final int b;
public Complex(int a, int b){
this.a = a;
this.b = b;
}
public Complex add(Complex other){
return new Complex(a + other.a, b+other.b);
}
}
@Controller
public class LoginController {
@Autowired
private UserService userService;
......对userService的使用略......
}
原文发布时间为:2018-11-30
本文作者:刘欣