what is constructor chaining and how is it


What is constructor chaining and how is it achieved in Java?

A child object constructor always first requires to construct its parent (which in turn calls its parent constructor.). In Java it is done via an implicit call to the no-args constructor as the first statement.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: what is constructor chaining and how is it
Reference No:- TGS0310949

Expected delivery within 24 Hours