1// To Check The Given Number is Integer Or Not In Java
2import java.util.Scanner;
3public class Main
4{
5 public static void main(String[] args) {
6 Scanner sc = new Scanner(System.in);
7 System.out.println("Enter The Number");
8 System.out.println(sc.hasNextInt());
9 }
10}