Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int divide(int y) throws CEDDividedByZeroException {
- if (y >=0) this.y =y;
- else throw new CEDDividedByZeroException ();
- return x/y;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement