(10-6)请阅读程序,然后写出程序运行结果。 public class Demo7 { public static void main(String args []) { System. out .println( validate ( "[0-9]+" , "456546gfg" )); } public static boolean validate(String pat ,String msg ) { return Pattern. compile ( pat ).matcher( msg ).matches(); } }