What value will z have if you execute the following assignment statement?
float z= 5/10.
The answer is 0. Why?
Use of "float" in Java programs are investigated. The solution is detailed and well presented. The response received a rating of "5/5" from the student who originally posted the question.