Question: Which two of these array declarations are valid? 1.String[5] array; 2.String array[]; 3.String[] array; 4.String array[5]; OPTIONS: 2 & 3 1 & 4 1 &
Which two of these array declarations are valid?
1.String[5] array;
2.String array[];
3.String[] array;
4.String array[5];
OPTIONS:
2 & 3
1 & 4
1 & 3
2 & 4
2.Which of the following interfaces allows you to remove any duplicated item that is inserted into it and warrants to order its elements based on their values?
java.util.Map
java.util.Stack
java.util.List
java.util.Set
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
