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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!