首页 > 试题广场 >

请说出E类中标注的【代码】的输出结果。 public cl

[问答题]
请说出E类中标注的【代码】的输出结果。
public class E{
    public static void main(String args[]){
        String regex="\\djava\\w{1,}";
        String str1="88javaookk";
        String str2="9javaHello";
        if(str1.matches(regex)){
            System.out.println(Str1);
        }
        if(str2.matches(regex)){
            System.out.println(str2);//【代码】
        }
    }
}

这道题你会答吗?花几分钟告诉大家答案吧!