Example

public static void main( String[] args ) {
for ( int i = 0; i < args.length; i++ ) {
if (! Character.isDigit(args[i].charAt(0))) {
System.out.println("Not a digit");
} else {
System.out.println("A digit");
}
}
}

Solução
  1. Remova a negação
  2. Altere as partes if e else

public static void main( String[] args ) {
for ( int i = 0; i < args.length; i++ ) {
if (Character.isDigit(args[i].charAt(0))) {
System.out.println("A digit");
} else {
System.out.println("Not a digit");
}
}
}