What is the output of the following java program (Constructor Chaining) ?
belongs to collection: Computer Programming-2 (CS2301) java examples inheritance super class, sub class, override
All Answers
total answers (1)
belongs to collection: Computer Programming-2 (CS2301) java examples inheritance super class, sub class, override
total answers (1)
output:
Parent class Parameterized constructor called by JIP
Child class Parameterized constructor called by JIP
Child class no-args constructor called
need an explanation for this answer? contact us directly to get an explanation for this answer