A Java program that checks the validity of a 16-digit credit card number.