Given that: Gadget has-a Sprocket and Gadget has-a Spring and Gadget is-a Widget and Widget has-a Sprocket Which two code fragments represent these relationships? ()
A:
B:
C:
D:
E:
F:
出自:Oracle认证