Commit 96224c91 authored by tammam.alsoleman's avatar tammam.alsoleman

create the interface

parent a1080aa4
package org.example.shared;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface IQuizService extends Remote {
public String getRandomQuestion() throws RemoteException;
public String submitAnswer(String studentName, String answer) throws RemoteException;
public String getLeaderboard() throws RemoteException;
public String authenticateStudent(String studentName) throws RemoteException;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment