最新回答 / qq_精慕门0295048
public static void main(String[] args) { String value="1234567890"; Boolean valuesIsTen = value.matches("\\d{10}"); if(valuesIsTen) System.out.println("是十位数"); else System.out.println("不是十位数"); }
2020-11-04