Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
25 Cards in this Set
- Front
- Back
Access Modifier
|
Reserved words “public”, “private”, “protected” in Java. Control whether
classes and members may be accessed from any class, only this class, subclasses. Default is access from any class in the package. |
|
Agile (or Extreme) Development
|
Methodology for developing software that emphasizes, among other
things, unit testing as part of development process. |
|
API (Application Programming Interface)
|
The way one program uses another program. In Java, the API can be
thought of as the collection of public methods for a class or package. |
|
Class
|
Main building block in Java. Contains members, including fields and
methods. Classes are the “blueprint” for creating objects. |
|
Constructor
|
Special block of code used to create an instance of a class (or, if you prefer, an object whose type is the class). Used with the “new” keyword (e.g., Person p = new Person() calls the Person() constructor).
|
|
Field
|
Member in a class that holds data (e.g., name, age, etc.). Usually marked
private so that other programs cannot directly access. |
|
IDE (Integrated Development Environment)
|
Program, like Eclipse, that provides the different tools required to develop
a software package. |
|
JVM (Java Virtual Machine) (also known as Java Runtime Engine or
JRE) |
The program that runs Java programs on a specific platform. Java source code is compiled into .class files. These contain the instructions used by the JVM to actually run the programs on a Windows PC, a Linux computer,
a Mac computer, etc. The JVM is written for each platform supported by Java. |
|
JUnit Test
|
A Java class used to test individual methods in a class. Used to build test cases, e.g., when using agile development methodology.
|
|
Method
|
Member in a class that does some processing (e.g., like a subroutine or function in other languages).
|
|
Method Argument
|
Arguments are the actual values that are passed in when the method is invoked. When you invoke a method, the arguments used must match the declaration's parameters in type and order.
|
|
Method Parameter
|
Parameters refers to the list of variables in a method declaration. When you invoke a method, the arguments used must match the declaration's parameters in type and order.
|
|
Method Signature
|
A method’s name plus it’s parameter list. Method signatures are important because they allow methods to be
overloaded. |
|
Object
|
An instance of a class.
|
|
Overload (Method)
|
To provide multiple methods with the same name but different parameters
(i.e., same name but different signatures). |
|
Override (Method)
|
When a subclass implements a method inherited from the super class, this method is said to be overridden.
|
|
Package
|
Packages are imported into a source file to save typing the full name of
the class |
|
Project
|
A way to organize your work. An Eclipse workspace can contain multiple projects. Each project can contain multiple packages. Each package can contain multiple classes.
|
|
Refactor
|
To improve a program without changing the way it works (i.e., its API). Example include renaming fields or variables, streamlining code, etc. Very important in agile development because of emphasis on self-documenting code.
|
|
Reference Variable
|
Variable that holds an object reference.
Points to an area on the “heap” where the object resides. Contrast with value variable. |
|
Static Method
|
A method that belongs to the entire class instead of one instance of the
class. Invoked with <Class>.<Method> Used for methods that don’t rely on any one instance of a class. |
|
Swing
|
A set of standard Java packages that implement a graphical user interface
without using any “native” code. |
|
SWT (Standard Widget
Toolkit) |
Set of Java classes and native programs developed by Eclipse to allow Java programs to have the look and feel of native programs on each platform.
|
|
Type
|
An attribute of a variable to indicate either a primitive type (int,
boolean, etc.) or class membership. For objects, the type is the class to which it belongs. Types also include interfaces and enumerations. |
|
Value Variable
|
Variable that holds the value of a Java primitive (e.g., integer, character, etc.). Held in the memory stack. Contrast with reference variable.
|