Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What problem occurs when String concatenation is done with the + operator inside a loop in Java?
Auto Skip
Report Issue
A.
Using + operator inside a loop causes a compile error
B.
No problem occurs, JVM optimizes automatically
C.
New String object is created each iteration leading to O(n²) complexity
D.
String Pool fills up and OutOfMemoryError is thrown
Previous
Next