-6
public interface Math{

public boolean result() throws exception;

}

//これはインターフェースクラスです

EJB クラスはこのメソッドを実装します

public class xyz implements Math{

public boolean result() throws exception;

boolean result = true;

return reult1;


}
4

1 に答える 1