public class demo1 {
public static void main(String[] args) {
String s=null;
System.out.println("输入字符串");
Scanner scanner=new Scanner(System.in);
s=scanner.nextLine();
boolean flag=true;
for(int i=0;i<=9;i++){
if(!s.contains(i+"")){
flag=false;
break;
}
}
if(flag){
System.out.println("0-9都有");
}
else{
System.out.println("0-9有缺");
}
}
}
10-13
689
05-19
4889