import java.rmi.*; public class RMIKlient2{ public static void main(String argumendid[]) throws Exception{ Arvutaja a=(Arvutaja)Naming.lookup("//jaagup.cs.tpu.ee:1099/arvutamine"); System.out.println(a.liida(Integer.parseInt(argumendid[0]), Integer.parseInt(argumendid[1]))); } }