How do you take integer in Java – Programming Code Examples