14
任务
Java Collections, 第 2 级, 课程 8
Creating a proxy object
1) In a separate file, create a public CustomInvocationHandler class that will be the invocation handler when creating a proxy object.
2) CustomInvocationHandler must support the InvocationHandler interface.
14
任务
Java Collections, 第 2 级, 课程 8
Generics for creating a proxy object
Create a public getProxy() method in the Solution class:
1) The getProxy() method must return a proxy for any interface that inherits Item.
2) The getProxy() method must have two parameters.