These data types are used when you need to store values < 1 or decimal values.
What are float and double?
This Java statement has a condition and a body.
What is an If Statement
It finishes writing out an output file and frees up its file descriptor resource.
What is .close()?
Encapsulation, Inheritance and Polymorphism
What are the three features of an object-oriented language?
A class that can't be instantiated on its own and is created for other classes to use as a superclass.
What is an abstract class?
Oracle
Who owns the official implementation of Java?
while (true) { System.out.println("Hello!");}
What is an example of an infinite loop?
Code that is executed when an exception is thrown.
What is an Exception Handler?
Object class
What is the cosmic superclass?
super
What is the reserved word that must be used to call a method of a superclass?
What is garbage collection?
A count-controlled loop with a known starting and ending point and a constant increment or decrement.
What is a for loop?
An exception that, when thrown, indicates something has gone wrong for an external reason beyond your control.
What is a checked exception?
This modifier denotes that a class member is not attached to any one object of that class.
What is static?
final
This reserved word in a class definition ensures that subclasses cannot be created from the class.
When constructing an ArrayList, you cannot use this type of variable for the ArrayList's type.
What is a primitive type?
Use this loop when you need to execute the loop body at least once, whether the condition is true or not.
What is a do-while loop?
A form of try-catch that automatically closes defined resources (files) before exiting.
What is try-with-resources?
These methods are used to modify the values of private instance variables in the class.
What are mutators (or setters)?
Is used to test if an object belongs to a particular class
What is instanceof?
Double
What is the wrapper class for the double primitive type?
This is the only tertiary operator in Java
What is "? :"?
An abstract representation of file and directory pathnames.
What is java.io.File?
When a subclass has a method with the same signature as a method in its parent class, it is said to ________ the parent method.
What is override?
A non-static method in an interface.
What is a default method?