How can I convert a long to int in Java?
Manual typecasting can be done here:
long x1 = 1234567891; int y1 = (int) x1; System.out.println("in value is " + y1);