public class Cat { public Color getColor() { return Color.BLACK; } }
public Color getColor() {
return Color.BLACK;
}
used in a return statement.
A, B, and D are incorrect.
Composition (containment), realization, and direct association (navigability) do not apply here.
My OCA Mock
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.