Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavatry-with-resourcesSingle-choice MCQ

What is the value of x after this code runs?

int x = 5; try { x += 5; } finally { x += 5; } System.out.println(x);