多选题 Given the design implied by this partially implemented class:
2. public class RobotDog {
3. int size;
4. void bark() { /* do barking */ }
5. int getSize() {return size; }
6. {size = 16; }
7. int getNetworkPrinterID() {
8. /* do lookup */
9. return 37;
10. }
11. voidprintRobotDogStuff(intprinterID) { /*print RobotDog stuff*/ }
12. }
Which are true? (Choose all that apply.)
【正确答案】 E
【答案解析】