Question: Please write this java interface, interface must remain exactly the same. The only parameter allowed is String fileName. Open opens the file readLine reads a
Please write this java interface, interface must remain exactly the same. The only parameter allowed is String fileName.
Open opens the file
readLine reads a single line from the file
close closes the file

public interface RemoteFileObject extends Remote public abstract void open(String fileName) throws RemoteException; public abstract String readLine() throws Remote Exception; public abstract void close() throws RemoteException; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
