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

  1. What do you call the data about a specific event?
    a record
  2. What do you call the individual pieces of data about a specific event?
    fields
  3. If you were reading in records from a file, what boolean method would you use to make sure there was more to read in the file?
    hasNextLine()
  4. If you were reading in records from a file, what method would you use to read in the next record?
    nextLine()
  5. What method would you use to break up a line of text into the individual pieces of data?
    split()
  6. Can one method see the variables in another method?
    no