Question: java What is the output of the following code snippet? [Oscar, Mary, Paul, Peter] [Peter, Oscar, Paul, Mary] [Mary, Oscar, Paul, Peter] [Oscar, Peter, Paul,
java
What is the output of the following code snippet?

| [Oscar, Mary, Paul, Peter] |
| [Peter, Oscar, Paul, Mary] |
| [Mary, Oscar, Paul, Peter] |
| [Oscar, Peter, Paul, Mary] |
PreviousNext
ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
