This type of class can't create objects
Abstract class
What surrounds a block of code that could throw an exception?
try block
Use a ____ stream to read data in from a file
input
T/F Binary Files are human-readable
False
T/F a variable whose meaning is confined to a method definition is called a static variable
False : a local variable
How many parameters can a catch block have?
One
Use this method to see if there are any more lines in the file
.hasNextLine()
What is a recursive function?
A function that calls itself with smaller input
The parameter used to refer to the calling object
this
What class do all exceptions inherit from?
Exception
What exception do you need to handle when opening a text file?
FileNotFoundException
What three cases are needed in a recursive call?
Error case
Base case
Recursive case
This operator is used to create new objects
new
What are the two types of exceptions?
Checked exceptions and unchecked exceptions
The output stream connected to the computer screen is:
System.out
T/F All recursive functions have an iterative solution
True
What is it called when you assign an object of a parent class to a child class?
downcasting
What type of exception requires a try and catch block?
Checked exception
What method lets you separate a line by a provided delimiter?
line.split(delimiter)
What exception is thrown when a recursive call gets too big?
StackOverflow