Copyright (c) Qusay H. Mahmoud
44
Step 5: implement the client….
l
Call the object:
l
String Hello = helloRef.sayHello();
l
System.out.println(Hello);
l
Catch exception:
l
}
catch(Exception e) {
l
System.out.println("ERROR : " + e);
l
e.printStackTrace(System.out);
l
} } } // end catch, main, class
l
l
l