Hi,
public class A
{
A()
{
}
}
In the aboce class, the constructor has public accessibility. If the constructor is not given any modifier, then it defaults to the accessibility of the class, so in the above example, since the class is public, the constructor is also public, unless explicitly mentioned private/protected.
Pls correct me if I am wrong.
Thanks
kanchan