Suppose I create a constructor for my base class A. Then another class B (sans constructor) inherits from that class. If I say
B test = new B(12,3); // assuming A had a constructor that takes 2 ints
Will Java call the constructor from the base class??




Reply With Quote