Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
private static boolean checkNum(String sCard2) {
for (int i = 0, len = sCard2.length() - 1; i < len; i++) {
if ((sCard2.charAt(i) > '9' || sCard2.charAt(i) < '0')) {
return false;
}
}
return true;
}
}