Analyze the outcome of this Java code:
float result = (float)3 / 2; System.out.println(result);
1
1.5
An error occurs
2