IT 114: Introduction to Java
Answers to Class 25 Ungraded Quiz
-
What is the ArrayList method that removes
all entries?
clear
-
What is the ArrayList method that deletes an entry?
remove
-
What is the ArrayList method that changes
an entry?
set
-
What ArrayList method would you use to
learn if the list has a certain value?
contains
-
What is the statement used to completely jump out of a loop?
break
-
What is the statement used to stop one pass through the loop
code without stopping the loop?
continue
-
What statement can use use in place of an
if
/else if
statement when the value of an expression determines which statements
are executed?
switch