Question: If a subclass constructor does not explicitly call a superclass constructor, _ _ _ _ _ _ _ _ . Group of answer choices Java

If a subclass constructor does not explicitly call a superclass constructor, ________.
Group of answer choices
Java will automatically call the superclass's default or no-arg constructor just before the code in the subclass's constructor executes
it must include the code necessary to initialize the superclass fields
the superclass's fields will be set to the default values for their data types
Java will automatically call the superclass's default or no-arg constructor immediately after the code in the subclass's constructor executes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!