构造器会把该实例变量(即信用限制)设为一个参数。
The constructor will set the credit limit instance variable to be equal to that specified as a parameter.
这意味着,如果一个变量被声明为接口类型,其值可参考,即实例化任何实现接口的类的任何对象。
This means that if a variable is declared to be the type of an interface, its value can reference any object that is instantiated from any class that implements the interface.
应用推荐