会计考友 发表于 2012-8-4 12:33:16

2011年JAVA认证模拟题(56)

  Q166 Which of the following are true?
  A Local variables may be declared final.
  B Methods may be declared final.
  C Constructors may not be declared private.
  D transient variables may not be serialized.
  Q167 When the clipping region is set for a Graphics object, which of the following are true?
  A Painting is restricted to the clippping region.
  B Painting is excluded from the clipping region.
  C All painting is prohibited.
  D Painting takes place inside of and outside of the clipping region.
  Q168 Suppose that you want to have an object eh handle the TextEvent of a TextArea object t. How should you add eh as the event handler for t?
  A t.addTextListerner(eh);
  B eh.addTextListerner(t);
  C addTextListener(eh,t);
  D addTextListener(t,eh);
  Q166 ABD
  Q167 A
  Q168 A
页: [1]
查看完整版本: 2011年JAVA认证模拟题(56)