How do you slice an int in Java?