
Hi Gate Keeper, For question 2 here is the method I would suggest: *public double divide(int integer1, int integer2){ if(integer2==0){ throw new Error("The second integer is 0"); }else{ return (double) ((double)integer1/(double)integer2); } }* Question 1 is also simple he will only need to create a class called Employee with the attributes of the fields captured and their methods. Also methods to do the calculations. Then create objects of class Employee in the main method where he will overload the operators. He can alert me in case he gets stuck. Regards Richard Gathogo. *Love covers a multitude of sins.* On Tue, Apr 3, 2012 at 9:37 AM, Gate Keeper <mohasq@gmail.com> wrote:
He is not. _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke