Step by step learning
What will be in the output of this code?
class CastInt { public static void main(String[] vars) { int z = (int) 3957.229; System.out.println("z = " + z); } }
z = 3957.229
z = 3957
Please log in or register to have a possibility to add comment.
Please log in or register to have a possibility to add comment.