Solved

What Is the Output of the Following Code Snippet

Question 92

Multiple Choice

What is the output of the following code snippet?
final String str = "Java";
str += " is powerful";
System.out.println(str) ;


A) Java is powerful
B) Java + is powerful
C) is powerful
D) Nothing; compile-time error

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions