A direct representation of data in the code
What is a literal?
The best choice when a certain part of code should only be executed when a condition is met, not affecting the rest of the program's execution
==
The type of error that results when spelling or punctuation is incorrect; prevents code from compiling successfully
What is a Syntax Error?
Any information that a method receives when it is called
What is a parameter?
The part of an object class that initializes the object and its instance variables
What is a constructor?
What is a word with one special, specific meaning to a programming language?
The best choice for a set of code that should only be executed if a condition is met with the opportunity to repeat if the condition continues to be true
What is a while loop?
||
What is the symbol used to combine multiple boolean values, indicating that only ONE needs to be true for the whole statement to be true (OR)?
The type of error that results when the program asks the computer to do something it cannot do, causes code to crash
What is a Runtime Error?
The information a method gives back when it is called
What is a return value?
Accessor
What is a method that allows the examination of an object’s instance variables?
A named place in computer memory that can store one value at a time.
What is a variable?
The best choice for code that should be executed only if a condition is met, with a corresponding set of code that should be executed if the condition is not met
What is an if/else statement?
!=
What is the symbol used to compare whether two primitive data types are NOT the same?
The type of error that results when the programmer has made a mistake in their code that produces incorrect or unexpected output; code will compile and run without problems
What is a Logic Error?
The evaluation of a variable based on its location in memory
What is Pass-By-Reference?
A method that allows the modification of an object’s instance variables
What is a modifier?
A library call
What is a way to utilize code written by someone else in a program?
The best choice for a set of code that should be executed exactly ten times
What is a for loop?
&&
What is the symbol used to combine multiple boolean values, indicating that BOTH PARTS need to be true for the whole statement to be true (AND)?
A type of Logic error that prevents code from exiting a section of code because an observable condition never changes
What is an Infinite Loop?
The evaluation of a variable based on its content
What is Pass-By-Value?
Instance Variables
What is the data that makes up an instance of an object class?
A named set of code that can be called on as needed
What is a method?
The best choice for a selection of code that should be executed once, with the option to repeat if a certain condition is met
What is a do/while loop?
%
What is symbol used to determine the remainder of an equation (modulus)?
A runtime error that occurs when the program attempts to access an array element at a position that does not exist
What is an Out of Bounds Exception?
The range of access between a variable’s declaration/initialization and the end of the current control structure (i.e. method/loop/if statement)
What is scope?
A method that allows an object’s data to be printed in a custom format
What is toString?
A user-defined data type which is coded in a separate file from the main method
What is an object class?
The best choice for code that will change based on one value
What is switch?
!
What is the symbol used to indicate that a statement will only be true when whatever follows the symbol is false?
A runtime error that occurs when the program attempts to perform certain actions on a variable that has no value
What is a Null Pointer Exception?
The keyword indicating that a variable has no value
What is null?
Object Class Instance
What is a declared and initialized object of a specific user-defined type?