"Hai, Amigo! Saya adakan beberapa tugasan menarik untuk awak."
"Ia hanya boleh disiapkan dalam IntelliJ IDEA. Lihat keadaan menarik ini…"
14
Tugasan
Java Collections, tahap, pelajaran
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
Tugasan
Java Collections, tahap, pelajaran
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.