"வணக்கம், அமிகோ! உங்களுக்காக நான் இரண்டு சுவாரஸ்யமான பணிகளைக் கொண்டு வந்துள்ளேன்."
"இன்டெல்லிஜே ஐடியாவில் மட்டுமே அவற்றை முடிக்க முடியும். இந்த சுவாரஸ்யமான நிலைமைகளைப் பாருங்கள்..."
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.