*Based on answer choices A-E, what is the code's output?
6. Given the following code, the output is __.
String str = "Java";
System.out.print(str.concat("programming"));
A. Java programming
B. Javaprogramming
C. Java programming !
D. Javaprogramming!
E. !
"B" correct answer
Comments
Leave a comment