i have a simple doubt i.e can a constructor have an access modifier other than what class has ???
Absolutely. Class access modifiers may be public or default (package). Constructor access modifiers may be public, protected, default, or private.
Joined: Sep 28, 2004
And this is about the default C'tor. From JLS:
If a class declares no constructors then a default constructor, which takes no arguments, is automatically provided. If the class being declared is Object, then the default constructor has an empty body. Otherwise, the default constructor takes no arguments and simply invokes the superclass constructor with no arguments. If the class is declared public, then the default constructor is implicitly given the access modifier public. Otherwise, the default constructor has the default access implied by no access modifier (�2.7.4).