IT 114: Introduction to Java
Answers to Class 17 Ungraded Quiz
-
What do you call the string with nothing in it?
the empty string
-
Can a string be changed?
no
-
Can a string be used to create a new string?
yes
-
What is the name of the process that removes objects
that have no variable pointing to them?
garbage collection
-
What is the name of the table of numbers used to represent
characters in Java?
Unicode
-
What is the name of the String method used to compare strings?
compareTo
-
What do you call a collection of related classes?
a package
-
What must you do to use a package in a Java program?
import it
-
What is the name of the type of object that must be
used to get input from the user?
a Scanner object