Computer Applications
Consider the following code snippet:
float x = 8.25F;
int y;
y = (int) x;
What are the values of x and y?
- x= 8.25, y = 8
- x = 8.0, y = 8.0
- x = 8, y = 8.25
- x = 8, y = 8
Java Operators
9 Likes
Answer
x= 8.25, y = 8
Answered By
3 Likes