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 <[email protected]> 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
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]<javaprogrammingwithpassion%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en