What is the output of the following Java code?
Matcher matcher = Pattern.compile("(Java)").matcher("Java SE");
matcher.find();
System.out.println(matcher.groupCount());
What is the output of the following Java code?
Matcher matcher = Pattern.compile("(Java)").matcher("Java SE");
matcher.find();
System.out.println(matcher.groupCount());