Intro to Java Programming Final Exam Study Guide
Java
Object Oriented programming language
Short-Circuit Evaluation
Operations that only occur if the previous operation was operated (ie. an if inside an if)
Method
Set of code that can be called anywhere in the program
IDE
Software Application that provides an interface for programmers to code in
Casting
Taking an object of one type and turning it into another type
Class
Templates that are used to create objects
Robust
The ability of a program to cope with errors and erroneous inputs
Initialization
The assignment of a value to a new value
Byte Code
The compiled version of a Java program
Instantiation
The creation of a class
Source Code
The physical code that programmers write into the IDE
Garbage Collection
The process by which Java automatically reclaims old data for reuse
Logic Error
When a program does not do what the programmer expects it to do
Continue Statement
When encountered, the program immediately skips the rest of the program inside of the loop and starts at the top
Variable Type
byte, short, int, long, float, double, boolean, char
Sentinel Controlled Loop
A loop where the number of repetitions in not known at the start
Aliasing
Aliasing means that there are multiple aliases or ways to get to a certain location
Java Virtual Machine
Allows a computer to run Java programs
Runtime Error
An error that occurs while the program is running
Arithmetic Expression
An expression that results in a numeric value
Return Type
An item that constrains the type of data returned by a method or program
Object
An object holds variables and methods for use in a program
Syntax Error
Errors that prevent the program from running, like forgetting a semicolon, assigning a number to a variable that hasn't been declared, etc.
Compiler Error
Ex: int = "This is not an int";
Assignment Operator
=
Variable
A container that holds values
Programming Language
A formal language that specifies a set of instructions to produce the desired output
Control Statement
if, else, for, or while loops
