"Hej, Amigo! Jag kom på ett par intressanta uppgifter till dig."
"De kan bara slutföras i IntelliJ IDEA. Ta en titt på dessa intressanta förhållanden..."
14
Uppgift
Java Collections, nivå, lektion
Låst
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
Uppgift
Java Collections, nivå, lektion
Låst
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.