"Hai, Amigo! Aku datang dengan beberapa tugas menarik untukmu."
"Mereka hanya bisa diselesaikan di IntelliJ IDEA. Lihatlah kondisi menarik ini…"
14
Tugas
Java Collections, level 2, pelajaran 8
Terkunci
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
Tugas
Java Collections, level 2, pelajaran 8
Terkunci
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.