To add elements to an ArrayList, you use the ____ method.
______ statements can be chained together to check multiple conditions
Else
a group of variables of different data types and a group of methods, - What does this define
Class
What is the difference between System.out.print and System.out.println
System.out.print prints everything on one line
The ______ keyword above our child class method to indicate to the compiler that we want to override a method in the parent class.
Override
In Java, an array is used to store a list of elements of the same _____
datatype
If statements execute when a specified Boolean operation is evaluated as ____.
Else if
Call to a ___ method must be a statement
Void
What is an IOExcpeption
refer to any errors that a program may encounter that are related to the input or output of a Java program.
______allows a child class to share the information and behavior of its parent class while also incorporating its own functionality
Polymorphism
An index refers to an element’s _____ within an array.
position
An expression containing multiple conditional operators follows as: Expressions in parentheses
_____-->_____-->________.
NOT, AND, OR
Java supports multiple inheritance, T or F
False
What does the FileInputStream do in Java
In Java, FileInputStream is used to read data from a file into the program.
Sometimes we may want to modify the constructor, in which case we can use the ________ method, which acts like the parent constructor inside the child class constructor
Super
inside the () you can specify the ____ of the element that you want to remove.
index
To compare primitive and referential values you use relational operators such as: _______ and _______.
!=, ==
By providing an ____ _____ in derived class, we can achieve overriding
overloaded functions
What does the FileOutputStream do in Java
In Java, FileOutputStream is used to output data from a program into a file on your computer.
In Java, sometimes we may want to control a child class access to parent class members. We can use the _____ and _____ final keywords to do just that
final & protected
What does an array list allow the list to be
flexible
DeMorgan’s Laws can be used to rewrite expressions complex _____ - Expressions
Boolean
What must java programs be compiled into before they can use the terminal
Java programs must first be compiled into bytes, and only then can they be run using the terminal or command prompt.
Java will automatically continue to call the constructor of a superclass until it reaches the constructor of the ______ class, even if the class doesn’t use the _____ keyword
Object & extends