0

What happens if a float value is incremented?

{ float f; f =(float) 6.534; f++; System.out.println(f); }

14th Dec 2016, 9:47 AM
Bharath Kumar Reddy Yadavally
Bharath Kumar Reddy Yadavally - avatar
1 Resposta
0
simply it increases by 1. 7.534 in this case.
14th Dec 2016, 10:20 AM
Zameel Haneef
Zameel Haneef - avatar