implement problem






I have an claass that implements another one

public class PatientImpl extends UnicastRemoteObject implements
PatientInterface


In PatientInterface, i have this class


public interface PatientInterface extends Remote
{

public String getPatientNummer() throws RemoteException;
public String getSofiNummer() throws RemoteException;
public String getVerzekeringsMa() throws RemoteException;
public String getPolisNummer() throws RemoteException;
public String getNaam() throws RemoteException;
public String getAdres() throws RemoteException;
public String getPostCode() throws RemoteException;
public String getWoonplaats() throws RemoteException;
public String getGebDatum() throws RemoteException;

}


But i get this error message when i want to implement the interface

PatientImpl.java [11:1] PatientImpl is not abstract and does not override
abstract method getPostCode() in PatientInterface

What is wrong here?


.



Relevant Pages

  • Re: implement problem
    ... But the PatientInterface is not abstract, and how do i implement a method, ... >> public interface PatientInterface extends Remote ... >> public String getPatientNummer() throws RemoteException; ...
    (comp.lang.java)
  • Re: implement problem
    ... But the PatientInterface is not abstract, and how do i implement a method, ... public String getSofiNummer() throws RemoteException; ... public String getVerzekeringsMathrows RemoteException; ... public String getPostCode() throws RemoteException; ...
    (comp.lang.java)
  • Re: implement problem
    ... public String getVerzekeringsMa() throws RemoteException; ... PatientImpl.java PatientImpl is not abstract and does not override abstract method getPostCode() in PatientInterface ...
    (comp.lang.java)