What does the following Java code output?
String text = "Java 8";
Pattern pattern = Pattern.compile("\\d");
Matcher matcher = pattern.matcher(text);
System.out.println(matcher.find());
What does the following Java code output?
String text = "Java 8";
Pattern pattern = Pattern.compile("\\d");
Matcher matcher = pattern.matcher(text);
System.out.println(matcher.find());