What is the output of the following code?
class Main { public static void main(String args[]) { String s = "java2s"; s.replace('a', 'Z').trim().concat("Aa"); s.substring(0, 2); System.out.println(s); } }
E
String objects are immutable.