4
answers
0
watching
307
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');
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');
28 Jan 2023
Already have an account? Log in
Tod ThielLv2
2 Dec 2018
Already have an account? Log in