"SCJP 1.6版考題 068" 修訂間的差異

出自 陳富國維基館
前往: 導覽搜尋
(新頁面: Given the following six method names: addListener addMouseListener setMouseListener deleteMouseListener removeMouseListener registerMouseListener How many of these method ...)
 
(無差異)

於 2013年3月30日 (六) 06:30 的最新修訂

Given the following six method names:
addListener
addMouseListener
setMouseListener
deleteMouseListener
removeMouseListener
registerMouseListener

 
How many of these method names follow JavaBean Listener naming rules?
  A. 1
  B. 2
  C. 3
  D. 4
  E. 5

解答


Ans: B

解說: - public void add<ListenerType>(<ListenerType> listener)- public void remove<ListenerType>(<ListenerType> listener)