What will be the output of the following program?
import java.util.*;
public class IamwhatIam {
public static void main(String[] args) {
List<String> truth = new ArrayList<String>();
truth.add("I");
truth.add(" am ");
truth.add("what");
truth.add(" I ");
String[] truths = truth.toArray(new String[truth.size()]);
System.out.println(truth);
List<String> trooth = Arrays.asList(truths);
System.out.println(trooth);
trooth.add(truths[1]);
System.out.println(trooth);
}
}