在主方法中调用“ Validate()”(它们在同一类中)
假设我有以下代码:
public static void main(String args[])
{
//vairables
boolean flag;
String str, cardNumber, valid;
Scanner get = new Scanner(System.in);
int i, sum, digit, last, rev;
char c;
//get the card numbe...