Hello! Im a java noob and I need to create a program that determines whether the input is an integer or not , can anyone help me out? thanks in advance! btw I have to use Scanner from java.util. , I have no idea on how to check if its an integer or not. Before, I was using C and in C there's a function called isnum() but since Im new at java I have no idea what to do.
any help is greatly appreciated :)
esy928 0 Light Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
esy928 0 Light Poster
esy928 0 Light Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
esy928 0 Light Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
yilmazhuseyin 16 Light Poster
esy928 0 Light Poster
esy928 0 Light Poster
mayursharma 0 Light Poster
lalkundan 0 Newbie Poster
abors 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.