Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
private static boolean isNumber(String s) {
for (int i = 0; i < s.length(); i++) {
char c = s.charAt(i);
if (!('0' <= c && c <= '9')) {
return false;
}
}
return true;
}
}