Jyoti Aggarwal wrote:
I mean how every classes extends Object class without explicitly defining the same? 
It is like compiler provides default constructor implicitly, if you dont specify constructor explicitly.
I do suggest you to compile the above class and
test *javap -c A* in command prompt