What is the data type of w * x / y? short w = 14;
float x = 13;
double y = 30;
var z = w * x / y;
Boyarsky, Jeanne; Selikoff, Scott. OCP Oracle Certified Professional
Java SE 11 Developer Complete Study Guide (p. 91). Wiley. Kindle Edition.
Shouldn't float initialization be as follows for the code to compile?
float x = 13f;