public class OutPutString {public static void main(String[] args) {judgelength(3774);}public static void judgelength(int num){String convertstr = String.valueOf(num);int len = convertstr.length();if ("".equals(num)||len>5) {System.err.println("不符合规则的数");}System.ou...