Question 21 · 200 in bank
Given:
What is the result?
Show answer
Answer: C
Explanation
Antwort C ist richtig ; public static void main(String [] args) { String ta = "A"; ta = ta.concat("B"); String tb = "C"; ta = ta.concat(tb); ta.replace('C', 'D'); ta = ta.concat(tb); System.out.println(ta); } } ABCC
Source: Adapted from community discussion — dya45792