[CT414]: Add RMI sample code

This commit is contained in:
2025-01-21 10:13:14 +00:00
parent ba430091f2
commit 6a761c728c
20 changed files with 428 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// Remote Object has a single method that is passed
// the name of a country and returns the capital city.
import java.rmi.*;
public interface CityServer extends Remote
{
String getCapital(String Country) throws RemoteException;
}