This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!

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.