Hello again,
Thank you !
I just wanted to point out that in Chapter 2 it is not explained in any way that floating-point numeric literals that appear in a piece of code are interpreted (default to) double.
Furthermore, Chapter 3 refers to this concept, which is a bit misleading:
" As you may remember from Chapter 2, floating-point literals are assumed to be double, unless postfixed with an f, as in 2.1f (Boyarsky, 20191119, p. 89)
Boyarsky, J., Selikoff, S. (20191119). OCP Oracle Certified Professional
Java SE 11 Programmer I Study Guide [VitalSource Bookshelf version]. Retrieved from
vbk://9781119584568
Always check citation for accuracy before use.
"
What do you guys think ?
Thanks,
Cristina.