93. Given: 10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. //insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile?
(A) Direction d = NORTH;
(B) Nav.Direction d = NORTH;
(C) Direction d = Direction.NORTH;
(D) Nav.Direction d = Nav.Direction.NORTH;
(A) Direction d = NORTH;
(B) Nav.Direction d = NORTH;
(C) Direction d = Direction.NORTH;
(D) Nav.Direction d = Nav.Direction.NORTH;
答案:登入後查看
統計: A(0), B(0), C(1), D(0), E(0) #2722983
統計: A(0), B(0), C(1), D(0), E(0) #2722983