Operators

© examsiri.com
Question : 15 of 23
 
Marks: +1, -0
Given:
class Scoop {
  static int thrower() throws Exception { return 42; }
  public static void main(String [] args) {
   try {
    int x = thrower();
   } catch (Exception e) {
       x++;
    } finally {
     System.out.println("x = " + ++x);
} } }

What is the result?
Go to Question: