I am wondering how I can check if a user\'s input is a certain primitive type (I mean integer, String, etc... I think it\'s called primitive type?). I want a user to input s
Try instanceof function with Integer instead of int.. each primitive also have a class