It is different from python, that "1" only present string "1", and ‘1‘ only presents char ‘1‘.
(type) can chang the type , e.g. (int) (totalScore/4.5); will change the result of(totoalScore/4.5) which is a float into integer.
But if want to change String to int or double, it does not work for previous method. Need Integer.parseInt("3") change "3" as 3, need Double.parseDouble("3.0") change "3.0" into 3.0.
x = 2, y = 3; if we want to get double 2/3, then we can do result = x/ (float) y;