Results 1 to 3 of 3
  1. #1
    asif_plz is offline Member
    Join Date
    Jul 2012
    Posts
    4
    Rep Power
    0

    Default JavaBean Listener

    Any one help one the below :-

    i found that on http://www.searchcrone.com


    Given the following six method names:


    addListener
    addMouseListener
    setMouseListener
    deleteMouseListener
    removeMouseListener
    registerMouseListener
    How many of these method names follow JavaBean Listener naming rules?



    the answer is 2 according to site but i think answer is 3 because addListener, addMouseListener and removeMouseListener is right answer...

    please suggest ...thankx in advance....

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: JavaBean Listener

    Two is correct. addListener does not follow the rules since it does not specify what type of listener is being added.

  3. #3
    asif_plz is offline Member
    Join Date
    Jul 2012
    Posts
    4
    Rep Power
    0

Similar Threads

  1. Replies: 2
    Last Post: 12-11-2011, 11:44 PM
  2. Replies: 1
    Last Post: 06-24-2011, 09:27 AM
  3. Clock JavaBean
    By dns.gonz in forum AWT / Swing
    Replies: 9
    Last Post: 10-08-2010, 05:49 AM
  4. JavaBean
    By hannes in forum New To Java
    Replies: 5
    Last Post: 02-14-2010, 08:51 PM
  5. components in javabean
    By NAIYYAR ALI in forum Advanced Java
    Replies: 0
    Last Post: 10-05-2009, 04:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •