| What will be the output of the following Java code snippet slot 3 question 9?
Choose the correct option from below list
(1)[A, D, C]
(2)[A, B, C]
(3)[A, B, C, D]
(4)[A, D, B, C]
Answer:-(4)[A, D, B, C]
Note:-obj is an object of class ArrayLists hence it is an dynamic array which can increase and decrease its size. | | |