Suppose we have two Die variables d1 and d2. Can the method invocation d1.roll() affect the state of d2 if d1 == d2? What if d1 != d2?
If two objects are equal in the sense of ==, are they automatically equal in the sense of equals()? What about vice versa?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here