Shared Flashcard Set

Details

Intro to Java Final
Definitions
47
Other
Not Applicable
11/28/2007

Additional Other Flashcards

 


 

Cards

Term
Argument
Definition
A parameter that is passed to a method when it is called
Term
block
Definition
a section of code beginning and ending with curly braces{}. The statements are grouped so they can be used together to accomplish a certain task.
Term
boolean
Definition
a data type that can be either true or false
Term
break
Definition
the java programming language keyword used to resume program execution at the statement immediately following the current statement.
Term
bytecode
Definition
a machine-independent code generated by the Java compiler and executed by the Java interpreter.
Term
case
Definition
the java programming language keyword that defines a group of statements to begin executing if a value specified matches the value defined by a preceding "switch" keyword 
Term
casting
Definition
explicit conversion from one data type to another
Term
char data type
Definition
a 16-bit unsigned integer that represents a Unicode value.
Term

class

Definition
the software blueprint for creating objects. An Object is an instance of a Class. In other words, Class is simply a prototype for objects, a blueprint (or template) that defines the variables and the methods common to all objects of a certain kind.
Term
class method
Definition

a method that is invoked without reference to a praticular object.

It is also called a static method

Term
class variable
Definition
a variable that is available to all instances of a class
Term
conditional expression
Definition
an expression that executes one of several sections of code based on a conditional test.
Term
constructor
Definition
a pseudo-method that creates an object; it is invoked using the new keyword and it has the same name. In the Java programming language, these are instance methods with the same name as its class.
Term
continue
Definition
the keyword used to resume program execution at the end of the current loop. If followed by a label, it resumes execution where the label occurs.
Term
data type
Definition
defines the kind of data that can be stored in a variable.
Term
declaration
Definition
a statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods).
Term
default
Definition
the java programming language keyword used after all "case" conditions in a "switch" statement. If all "case" conditions are not matched by the value of the "switch" variable, the "default" keyword will be executed.
Term
do
Definition
the keyword used to declare a post-test loop that will iterate a block of statements, the loop's exit condition must be specified with the "while" keyword.
Term
double data type
Definition
a double precision, 64-bit long, floating-point number used as a variable.
Term
float data type
Definition
Designates a single-precision, 32-bit long, floating-point number used as a variable.
Term
for
Definition
The keyword used to declare a loop that reiterates statements, the programmer must specify the statements to be executed, exit conditions, and initialization variable for the loop.
Term
friendly
Definition
A term used to describe the default access control for methods of a particular class in which the class itself, subclasses and classes in the same package can call the method.
Term

if

Definition

The java programming language keyword used to conduct a conditional test and execute a block of statments when the test evaluates to true.

Term
Import
Definition
The keyword used at the beginning of a source file that can specify classes or entire packages to be referred to later without including their package names in the reference.
Term

import statement

Definition
A statement that is used to include a class to be searched for in a particular package.
Term
instance
Definition
One specific object within the class of objects
Term
instance method
Definition
Any method that is invoked with respect to an instance of a class
Term
Instance Variable
Definition
A variable particular to an instance of a class
Term
integer
Definition
A whole number, such as 1 and 5280
Term

Java Development Kit (JDK)

Definition
A software development environment for writing applets and applications in the Java programming language
Term
main() method
Definition
A method that must be defined in every Java application. When a Java application is invoked, the Java compiler looks for the method named main and begins execution there.
Term
method
Definition
A function defined in a class.
Term
new
Definition

The keyword used to create an instance of a class.

Term
object
Definition
The software bundle of variables and related methods. It is the principal building blocks of object-oriented programs.
Term
package
Definition
To group together a variety of classes and/or interfaces that perform similar functions.
Term
primitive data type
Definition
A data type that can have only one value at a time and is the simplest built-in form of data within Java.
Term
private
Definition
A modifier that specifies only the current class can call this method or variable. When you use this modifier, you are excluding subclasses of the class as well.
Term
protected
Definition
A modifier that specifies that only classes in the current package in which the method or variables is defined can call the method. This allows access for objects that are part of the same application, but not to other applications.
Term
read() method
Definition
The method an application actually uses to read data from a stream. This method is found in the following java.io classes: InputStream, FilterInputStream, BufferedInputStream, DataInputStream, ByteArrayInputStream and PushbackInputStream.
Term
return
Definition
The keyword used to finish the execution of a method. It can be followed by a value required by the method definition.
Term
statement
Definition
Any line or lines of code ending in a semicolon. It may be an expression, a method call, or a declaration.
Term
static
Definition
A Java programming language keyword used to define a variable as a class variable. Classes maintain one copy of class variables regardless of how many instances exist of that class. It can also be used to define a method as a class method. Class methods are invoked by the class instead of a specific instance, and can only operate on class variables.
Term
static method
Definition
Another name for class method. A method that is invoked wihtout reference to a particular object. Class methods affect the class as a whole, not a particular instance of the class.
Term
static variable
Definition
A variable that exists in only one location and is globally accessible by an instances of a class.
Term
switch
Definition
The Java programming language keyword used to evaluate a variable that can later be matched with a value specified by the "case" keyword in order to execute a group of statements.
Term
void
Definition
The keyword used in method declarations to specify that the method does not return any value.
Term
while
Definition
A keyword used to declare a pretest loop that iterates a block of statements, the loop's exit condition must be specified as part of the statement.
Supporting users have an ad free experience!