IT 114: Introduction to Java
Answers to Class 17 Ungraded Quiz

  1. What do you call the string with nothing in it?
    the empty string
  2. Can a string be changed?
    no
  3. Can a string be used to create a new string?
    yes
  4. What is the name of the process that removes objects that have no variable pointing to them?
    garbage collection
  5. What is the name of the table of numbers used to represent characters in Java?
    Unicode
  6. What is the name of the String method used to compare strings?
    compareTo
  7. What do you call a collection of related classes?
    a package
  8. What must you do to use a package in a Java program?
    import it
  9. What is the name of the type of object that must be used to get input from the user?
    a Scanner object