public class MainClass { public static void main(String [] args) { int x = (int)3.229; // legal cast System.out.println("int x = " + x); } }
int x = 3