IT 114: Introduction to Java
Class 24 Ungraded Quiz
-
What is the class that can create objects that
work like arrays but can be expanded or contracted
as needed?
-
Write the statement to create an ArrayList
object named "words" that will hold strings.
-
Can you create an ArrayList
object to hold values of type
int
?
-
What method would you use to determine how many elements are in an
ArrayList object?
-
What method would you use to obtain insert a value into
an ArrayList object?
-
What method would you use to obtain the value of a particular
element in an ArrayList object?