Re: Implement interface




"Tony Johansson" <johansson.andersson@xxxxxxxxx> wrote in message
news:4Eome.138757$dP1.488907@xxxxxxxxxxxxxxxxxx
> Hello!
>
> When a class implaments an Interface must the class implement all methods?
> Whan happen if the class don't implament all methods in the interface.
Will
> it cause compile error then.
>
> //Tony

Why don't you try it and find out yourself?

A class must implement all methods of the interface, unless the class is
declared as abstract.


.



Relevant Pages

  • Implement interface
    ... When a class implaments an Interface must the class implement all methods? ... Whan happen if the class don't implament all methods in the interface. ... Prev by Date: ...
    (comp.lang.java)
  • Re: Implement interface
    ... Tony Johansson wrote: ... > When a class implaments an Interface must the class implement all methods? ... > Will it cause compile error then. ...
    (comp.lang.java)
  • importing video
    ... import into Windows Movie maker, but when i try to do this i get an error ... An interface has to many methods to ... fire events from." ... Prev by Date: ...
    (microsoft.public.windowsxp.video)
  • Can a standard NIC be triggered to send an electrical signal?
    ... no-spam read and post WWW interface to your favorite newsgroup - ... comp.dcom.lans.ethernet - 3309 messages and counting! ... Prev by Date: ...
    (comp.dcom.lans.ethernet)
  • Re: Why are most posts in this part of the forum?
    ... instance) and have a much better interface and speed than any web ... based client provides. ... Foxtrot ... Prev by Date: ...
    (rec.gambling.poker)