Vugar Asadzadeh

Greenhorn
+ Follow
since Dec 25, 2017
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vugar Asadzadeh

Hi all,

Today faced a test question which image below.



According book mentioned subject of this topic (on page 183) there 3 correct answers on this test.

... .In the absence of a user-defined constructor,Java inserts a default constructor.This constructor doesn't accept any method argument.It calls the constructor of the super (parent) class and assigns default values to all the instance variables.



I google about this default constructors and recognize initializing instance variables perform before executing constructor.