What is the result of executing this code:

try {
    int i = new Integer(10);
    System.out.println(i);
} catch(Exception e) {
    System.out.println("opsss... error");
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes