Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/rational-java/
- Question1:
- You can define the compareTo method in a class without implementing the Comparable interface. What are the benefits of implementing the Comparable interface?
- Question2:
- (Use BigInteger for the Rational class) Redesign and implement the Rational class using BigInteger for the numerator and denominator.
- Download: http://solutionzip.com/downloads/rational-java/
Add Comment
Please, Sign In to add comment