I am trying retrive the data type of a unknown data type input by user in Object class. But it taking it as a string by default. Any help plz :        `Scanner in=new Scanner(System.in);
       Object o=in.next().getClass().getSimpleName();
       System.out.println(o);`



//it is showing string data type when input is taken by user
//it is showing correct data type when data is initialized in the code.