Answer to Question #181328 in Java | JSP | JSF for Bill

Question #181328

*Based on answer choices A-E, what is the code's output?


#3- Given the following code, the output is __.


String str = new String("flower");

System.out.print(str.charAt(5));


A. 5

B. e

C. w

D. o

E. r


1
Expert's answer
2021-04-15T10:11:07-0400

Answer: E


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog