Interface File: addserverintf.java


import java.rmi.*;

public interface addserverintf extends Remote

{

double add(double d1,double d2) throws RemoteException;

double subtract(double d1,double d2) throws RemoteException;

double multiply(double d1,double d2) throws RemoteException;

double divide(double d1,double d2) throws RemoteException;

}

 

Sample Program 2<< Previous
Next >>Interface implementation file: addserverimpl.java

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus








Footer1