There are 3 points about initilization.
But I think the point 4 is missing about values for array elements.?
It could be included what are deafult values for elements of the array of static/instance/local vars.
[HD Pg 0, Sec. 3.3.2 - uninitialized-variables-and-default-values]
Moderator: admin
-
- Posts: 202
- Joined: Mon Apr 02, 2018 8:40 am
- Contact:
-
- Site Admin
- Posts: 10064
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 0, Sec. 3.3.2 - uninitialized-variables-and-default-values]
Taking about arrays at this point would be like forward referencing a topic (arrays are introduced and discussed in the next chapter). Even so, the three points about default values of variables are complete and applicable to array variables as well. You will learn later that arrays are objects so, what goes for any reference variable goes for an array variable.
Array initialization, on the other hand, is an entirely different topic from variable initialization. Initializing the arrays elements are discussed in chapter 4.
We will add more information to improve this section nonetheless.
thank you for your feedback!
Array initialization, on the other hand, is an entirely different topic from variable initialization. Initializing the arrays elements are discussed in chapter 4.
We will add more information to improve this section nonetheless.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: pavvel and 98 guests