Re: Implement interface
- From: "Murray" <parps@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 19:55:38 +1000
"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.
.
- References:
- Implement interface
- From: Tony Johansson
- Implement interface
- Prev by Date: Old Java JDK !!!
- Next by Date: jwsdp and ws-security
- Previous by thread: Implement interface
- Next by thread: Old Java JDK !!!
- Index(es):
Relevant Pages
|
|