Add strings to list - Java Quiz Question


What will be the output of the following program?


A
[C, C++, C#, JAVA]
[C, C++, C#, JAVA, .Net, UNIX]
[C, C++, C#, JAVA]
B
[C, C++, C#, JAVA]
[C, C++, C#, JAVA, .Net, UNIX]
[C, C++, C#, JAVA, .Net, UNIX]
C
[C, C++, C#, JAVA]
[C, C++, C#, JAVA, .Net, UNIX]
[C, C++, C#, JAVA, .Net, UNIX, C, C++, C#, JAVA, .Net, UNIX]
D
Compilation Error at LINE A because String[] can not be added to list
E
Compilation Error for some other reason or Runtime Error