Question: Question 1 What is wrong with this Java statement? ArrayList col = new ArrayList( ); Question 1 options: A The size of the collection is

Question 1

What is wrong with this Java statement? ArrayList col = new ArrayList( );

Question 1 options:

A

The size of the collection is not specified.

B

The class of the objects allowed to be added to the collection is not specified.

C

No throws statement is specified.

D

The collection is already full.

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!