What will this code snippet output?
Pattern pattern = Pattern.compile("JAVA", Pattern.CASE_INSENSITIVE);
Matcher matcher = pattern.matcher("java");
System.out.println(matcher.matches());
What will this code snippet output?
Pattern pattern = Pattern.compile("JAVA", Pattern.CASE_INSENSITIVE);
Matcher matcher = pattern.matcher("java");
System.out.println(matcher.matches());