Re: implement problem



Irlan agous wrote:
Thanks for the pointers!
You are right, english is not my native language. its dutch actually, hehe.

OK, it helps to know that. I will point out that your English is better than my Dutch, so we should probably stick to English anyway. :-)



why cant i declate the whole interface if its not abstract?

 I'm sorry I do not understand this question.

What i mean by this question is.
PatienInterface is declared like this

public interface PatientInterface extends Remote

I dint declare it as an abstract class, so why does it give me the roor message that it cant implement an ebstrat method from the interface class
It may be a newbie question, sorry, i want to get off this title.hehe



When a class implements an interface one of two conditions must be met. Either
i) the class provides implementations for every method declared in the interface, or
ii) the must be declared abstract.


HTH,
Ray

--
XML is the programmer's duct tape.
.



Relevant Pages

  • Re: Multiple bounds in a generic declaration
    ... Both Foo is an abstract class and Bar is in this case a listener ... How can I declare this ArrayList? ...
    (comp.lang.java.help)
  • Re: Selecting class at runtime
    ... hence, whatever methods that may be used in future, through inheritance, ... should be declared as prototypes in the abstract class. ... Declare your DoStuff method as virtual so that they could be overridden ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Template method pattern in Java ???
    ... What is says to me is that nobody but the base ... >Then why do you want to declare it in an interface? ... Not an interface, an abstract class. ...
    (comp.lang.java.programmer)
  • Re: Template method pattern in Java ???
    ... What is says to me is that nobody but the base ... >Then why do you want to declare it in an interface? ... Not an interface, an abstract class. ...
    (comp.lang.java.help)
  • Re: Template method pattern in Java ???
    ... What is says to me is that nobody but the base ... >Then why do you want to declare it in an interface? ... Not an interface, an abstract class. ...
    (comp.object)