Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaif switch loopsSingle-choice MCQ

What does this code print?

int x = 5;\nx = x++;\nSystem.out.println(x);