*Based on answer choices A-E, what is the code's output?
5. Given the following code, the output is __.
String str = "Yellowstone National Park";
System.out.print(str.length());
A. 15
B. 25
C. 30
D. 20
E. 35
The code's output is: B. 25
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment