2011年JAVA认证模拟题(55)
Q163 Which layout allows you to control the exact positioning of components?A CardLayout
B null Layout
C BorderLayout
D SetLayout
Q164 Which of the following are valid forms of the drawImage() method of the Graphics class?
A drawImage(Image image, int x, int y, ImageObserver observer)
B drawImage(Image image)
C drawImage(Image, image, int x, int y)
D drawImage()
Q165 Which of the following are true about method overriding?
A The overriding and overridden methods must have the same name, argument list, and return type.
B The overriding method must not limit access more than the overridden method.
C The overriding method must not throw any exceptions that may not be thrown by the overridden method.
D The overriding method may not be private.
Q163 B
Q164 A
Q165 ABCD
页:
[1]