Question 5
Consider the Java code given below.
Choose the correct option.
This program generates the output: [Amit, Neha, Sita]
This program generates the output: [Neha, Sita]
This program generates the output: [Ravi]
This program generates the output: [Amit, Ravi]