Can you describe a class which implements interface?
你能描述一下一个执行接口的类吗?
At this point, you should have a client class, an interface, and one class that implements the interface.
此时,您应该有一个客户端类、一个接口、以及一个实现接口的类。
The adapter implements the interface and passes the method calls unto the real object.
适配器实现接口,并将方法调用传递给真实的对象。
应用推荐