Search:

Type: Posts; User: Learner

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    1,781

    Re: Is it possible to instantiate an interafce ?

    yes , i will read about this concept " anonymous inner classes " it is new for me , and thank you very much Sean4u for ur responding :) .
  2. Replies
    7
    Views
    1,781

    Re: Is it possible to instantiate an interafce ?

    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...
  3. Replies
    7
    Views
    1,781

    Is it possible to instantiate an interafce ?

    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...
Results 1 to 3 of 3