Skip to main content
๐Ÿ”ฎ Output PredictionJV Java Medium+20 XP

StringBuilder

What is the output?

Java
StringBuilder sb = new StringBuilder("Hello");
sb.append(" World").reverse();
System.out.println(sb);

๐Ÿ”ฎ What is the output?

Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep