My first question would be, can a credit card number start with a zero?
If so, you need to capture it as a string rather than a long.
Second of all I'd suggest you use a string anyway and loop...
Type: Posts; User: Json
My first question would be, can a credit card number start with a zero?
If so, you need to capture it as a string rather than a long.
Second of all I'd suggest you use a string anyway and loop...
I take it this is an assignment, however if its not, how about Validator - Commons Validator
// Json