IT 114: Introduction to Java
Answers to Class 23 Ungraded Quiz
-
What do you call the data about a specific event?
a record
-
What do you call the individual pieces of data about a specific event?
fields
-
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()
-
If you were reading in records from a file, what method
would you use to read in the next record?
nextLine()
-
What method would you use to break up a line of text
into the individual pieces of data?
split()
-
Can one method see the variables in another method?
no