Why default constructor of base class will be called first in java?
Because from any constructor of the subclass first a call is made to super() unless you specifically make any super call with args() eg super(arg1,arg2). Category:Java Interview Questions
No comments:
Post a Comment