When you use != or == on reference types, you're comparing them to see if they refer to the same, single object. You'll have to override java.lang.Object.equals(Object) in your Fraction class.
Type: Posts; User: Sean4u
When you use != or == on reference types, you're comparing them to see if they refer to the same, single object. You'll have to override java.lang.Object.equals(Object) in your Fraction class.