Results 1 to 3 of 3
  1. #1
    JyotirmoyDeb is offline Member
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    0

    Default What is the Use of No argument Constructor in JAVA Beans

    Can anyone tell me what is the use of no argument constructor in java Bean ?
    Thanks in advance !!!!

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    I would guess the same as a no argument constructor in a general java object, to initialize member variables if desired.

  3. #3
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    to inititialise your objects of a class? you can override the default constructor, thats helpful too.

Similar Threads

  1. How to make Beans Lazily-instantiating beans
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-30-2008, 10:10 AM
  2. How to resolve Constructor argument in Spring
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-29-2008, 12:43 PM
  3. How to make Beans Lazily-instantiating beans
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08:41 PM
  4. How to resolve Constructor argument in Spring
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08:34 PM

Posting Permissions

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