Constructor can be only:
*public *: any other class from other package needs to call your class
constructor
*protected*: when only a subclass needs to call your class constructor
*private*: when no one except your class needs to call the constuctor

-Nirmal

                 \\\///
              /         \
              | \\   // |
            ( | (.) (.) |)
----------o00o--(_)--o00o-------------------
Stand up,be bold,be strong.
Take the whole responsibility on
ur own shoulders and know that
U are the creator of ur own destiny
------ooo0-------------------------------------
    (   )     0ooo
     \ (      (   )
      \_)      ) /
              (_/


On Sun, Jan 2, 2011 at 4:22 PM, anum akram <anum...@gmail.com> wrote:

> Assalam-o-Alikum
>
>  can any body tell me is constructor can be static?
>
> Regards
> Anum Akram
>
> --
> To post to this group, send email to
> javaprogrammingwithpassion@googlegroups.com
> To unsubscribe from this group, send email to
> javaprogrammingwithpassion+unsubscr...@googlegroups.com<javaprogrammingwithpassion%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en

-- 
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to