What is the output for the following lines of code? 1: String str = "Welcome"; 2: 3: str.concat(" to Java!"); 4: 5: System.out.println(str);
Reveal answer
Fill a bubble to check yourself
What is the output for the following lines of code? 1: String str = "Welcome"; 2: 3: str.concat(" to Java!"); 4: 5: System.out.println(str);