Java SE 8 Programmer 1Z0–808 Practice Full Test 1

© examsiri.com
Question : 5 of 84
 
Marks: +1, -0
Given: 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);
}

What is the result?
Go to Question: