The hard drive of a computer, which acts as the long term storage unit. The slowest memory unit.
Back
Memory
Front
RAM, the third fastest memory in a computer that contains temporary data storage.
Back
String
Front
An object backed internally by a char array. Strings are immutable, because the arrays that back them are immutable. Whenever a change is made to a string, an entirely new String is created.
Back
Java
Front
A server-side language, used in the back-end of programming to interact with databases, serve up responses, etc. Not directly used in web browsers.
Back
Java Inheritance
Front
The mechanism in which one object acquires some or all of the variables and methods of another object. One of the Four Pillars of OOP.
Back
finalize
Front
An object class method that is called before the garbage collection for a particular object, used to release resources used by objects before they're removed from the memory.
Back
JVM
Front
Java Virtual Machine, an interpreter for compiled Java bytecodes.
Back
final Keyword
Front
Precedes the data type in a declaration of a constant, stating that an entity can only be assigned once, and its value can never be changed or overridden.
Back
javac
Front
To compile a Java source file, use the Java compiler called _______
Back
OOP
Front
Object Orientated Programming; the act of writing code as modules instead of as lists of instructions.
Back
Composite Relationships
Front
When an instance of one class has a reference to an instance in another class or in another instance of the same class. Also called an "Has-A" relationship, as class A "has-a" relationship to class B.
Back
Polymorphism
Front
The ability of an object to take on many forms. The most common use of this in OOP occurs when a parent class reference is used to refer to a child class object.
Any Java object that can pass more than one IS-A test is considered to be this. In Java, all Java objects are this, since any object will pass the IS-A test for their own type and for the class Object.
Back
equals(Object o)
Front
Object class method that compares the memory addresses of two objects. Functionally equivalent to the == operator, unless overridden.
Back
this
Front
A special reserved reference variable in Java that refers to the current object and can call a constructor from another constructor within the same class.
Back
Method Parameter
Front
Information can be passed to methods as parameters, which act as variables inside the method.
Back
int
Front
A primitive data type that represents whole numbers. Reserves 32 bits of memory.
Back
Method Overloading
Front
The ability to define two or more different methods with the same name but different method parameters.
Back
Java Class
Front
A blueprint for creating objects of a certain kind; defines the state and behavior the objects will possess.
Back
Runtime Exceptions
Front
Errors that result from a logical error in a program.
Back
Java Strings
Front
A sequence of characters. Strings are immutable, meaning they are constant and cannot be changed once created. Strings are often recycled by the JVM.
Back
Java Arrays
Front
Arrays are objects that store multiple variables of the same type. However an Array itself is an object on the heap. Values in the Array are organized with an index of fixed size and type.
Back
Java Compiler
Front
Software that transforms Java code into instructions usable by the JVM
Back
main
Front
The method in the controlling class that is automatically executed when a Java application is run.
Back
Java Access Modifiers:
Front
Java provides a number of access modifiers to set access levels for classes, variables, methods and constructors. The four access levels are:
Visible to the package. the default. No modifiers are needed.
Visible to the class only (private).
Visible to the world (public).
Visible to the package and all subclasses (protected).
Back
CPU Cache
Front
Second fastest form of memory, the Cache is built into the CPU and acts as temporary data storage.
Back
JDK
Front
Java Development Kit. A software development environment for writing applets and application in Java .
Back
Java Constructor
Front
A special method used to initialize objects. The constructor is called when an object of a class is created. It can be used to set the initial values for the object's attributes.
Back
Package
Front
Used to group related classes. Like a folder in a file directory.
Back
Double Class
Front
Wraps a value of the primitive type 'double' in an object. An object of type Double contains a single field whose type is 'double'.
In addition, this class provides several methods for converting a double to a String and a String to a double, as well as other constants and methods useful when dealing with a double.
Back
Reference Variable
Front
Stores (points to) the memory address of an object.
Back
JRE
Front
Java Runtime Environment;
This allows you to execute Java programs,
but it does not allow you to compile them.
Back
finally Block
Front
Always executes when the try block exits. This ensures that the finally block executes even if an unexpected exception occurs.
Back
Method
Front
A reusable block of code that is given a specific label. An object's method may change the object's state.
Back
Register
Front
The fastest form of memory, built into the CPU and used for temporary data storage.
Back
java.lang
Front
A special package in Java, is the default, implicitly imported into all Java classes. It contains many useful classes, including System and String.
Back
Java Exceptions
Front
Problems that arise during the execution of a program. When an Exception occurs, the normal flow of the program is disrupted and the program/Application terminates abnormally, which is not recommended, therefore, these exceptions are to be handled.
Back
JPMS
Front
Java Platform Module System;
Collection of associated packages, resources, and a module descriptor.
Back
Scanner Class
Front
Provides convenient methods for reading input values of various types.
Back
Contractual Members
Front
A child class is guaranteed to have the public variables and methods of a super class, even if the implementations differ.
Back
Object Class
Front
The name of the Java class that is the "mother" of all objects. All other Java classes automatically inherit the Object class as the top-level parent class in the hierarchy. This class provides basic methods such as the toString, hashCode, and equals methods.
Back
Checked Exceptions
Front
An exception that is checked (notified) by the compiler at compilation time. These are exceptions that cannot be ignored, and the programmer should take care of (handle) them.
Back
clone() method
Front
An object method that creates a new instance of the class of current object and initializes all of its fields with exactly the contents of the corresponding fields of the object.
Back
super Keyword
Front
A keyword that can be used to invoke a parent class's method which has been overridden by the current subclass's method.
Back
throws Keyword
Front
Used in the signature of method to indicate that this method might throw one of the listed type exceptions. The caller to these methods then has to handle the exception using a try-catch block.
Back
JIT Compilation
Front
Just-In-Time Compilation;
Compiles and translates the bytecode into machine code.
Back
double Variable
Front
Used to hold floating point values (values with decimal points).
Back
IDE
Front
Integrated Development Environment; a programming environment that includes an editor, compiler, and debugger.
Back
throw Keyword
Front
Used to explicitly throw an exception from a method or any block of code. Can throw either checked or unchecked exceptions. Used mainly to throw custom exceptions.
Back
hashCode()
Front
An object class method that is used to provide a unique numeric identifier for an object's contents in order to provide an alternate mechanism to loosely identify it. By default, it returns the internal memory address of the object.
Back
Object
Front
An instance of a class in memory.
Back
Section 2
(11 cards)
interface
Front
Back
Primitive Type Variables
Front
Variables that store data directly as bytes. There are 8 Primitives in Java, byte, short, int, long, float, double, boolean, and char.
Back
void Return Type
Front
This kind of method does not return a value.
Back
Upcasting
Front
Assigning an object of a derived class type to a variable of an ancestor class
Back
Wrapper Class
Front
A class designed to contain a primitive data type so that the primitive type can behave like a reference type.
Back
Unboxing
Front
The conversion of an object of a wrapper type into its corresponding primitive value.
Back
Autoboxing
Front
Automatic conversion of a primitive value into an object of the corresponding wrapper class.
Back
Reference Type Variable
Front
A variable that stores the memory addresses where objects are located, and which dictate how those objects are accessed.
Back
Variable
Front
A name given to a memory location, the basic unit of storage in a program.
Back
toString() Method
Front
A method that returns a textual description of an object to the console.
Back
Upper Camel Case
Front
First letter uppercase and the first letter of each internal word capitalized.