4
answers
0
watching
306
views
1 Dec 2018

18. What is the value of the String referred to by the variable s after the following code executes? String fun = "bcd"; String a = ""; for (int i = 0; i < fun.length(); i++) { a = a + (char) (fun.charAt(i) + 3); String s = ""; for (int i = 0; i < a.length(); i++) { S = S + (char) (a.charAt(i) + 'A' -'a');

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Tod Thiel
Tod ThielLv2
2 Dec 2018
Already have an account? Log in
Start filling in the gaps now
Log in