yes , i will read about this concept " anonymous inner classes " it is new for me , and thank you very much Sean4u for ur responding :) .
Type: Posts; User: Learner
yes , i will read about this concept " anonymous inner classes " it is new for me , and thank you very much Sean4u for ur responding :) .
yes i'm sorry and you are right i did provided a wrong example ...
what i mean is something like this
interface anInterface { void aMethod(); }
class myClass { anInterface A1 = new...
Greeting all ,
please , can you explain when instantiating an interface is acceptable and reasonable ?
i'm asking due to with my pre knowledge that an interface...