Java   Glossary   Help

!has purpose to negate the value of the operandadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
indicates logical NOT    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:50.0
is a subtopic of Operators2001-10-19 11:35:50.0
is an instance of logical operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
is an instance of unary operatoradded by: JK, 2001-10-19 11:35:50.0
!=has purpose to return true if the operands are not equaladded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
is a subtopic of Operators2001-10-19 11:35:50.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
is an instance of identity comparison operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:50.0
is an instance of relational operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
%has purpose to compute the remainder of dividing one operand by anotheradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:46.0
has syntax
operand1 % operand2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:46.0
indicates modulus    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:46.0
is a subtopic of Operators2001-10-19 11:35:46.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:46.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:46.0
%=has equivalent
op1 %= op2
is equivalent to
op1 = op1 % op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:46.0
is a subtopic of Operators2001-10-19 11:35:46.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
&has purpose to return true if both operands evaluate to trueadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
is a subtopic of Operators2001-10-19 11:35:47.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
is an instance of bitwise operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
is an instance of logical operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
always evaluates both its operandsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
&&evaluates its second operand only if the first operand returns trueadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
has purpose to return true if both operands evaluate to trueadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
indicates logical AND    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:47.0
is a subtopic of Operators2001-10-19 11:35:47.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
is an instance of logical operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
is an instance of short circuit operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:47.0
&=has equivalent
op1 &= op2
is equivalent to
op1 = op1 & op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:47.0
is a subtopic of Operators2001-10-19 11:35:47.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
*has purpose to multiply one operand by anotheradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
has syntax
operand1 * operand2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
indicates multiplication    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:48.0
is a subtopic of Operators2001-10-19 11:35:48.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
*=has equivalent
op1 *= op2
is equivalent to
op1 = op1 * op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
has example
example expressionequivalent longer expression
a*=b;a=a*b;
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:48.0
is a subtopic of Operators2001-10-19 11:35:48.0
is an instance of augmented assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
+
  • + indicates string concatenation
  • if its operands have type String
  • otherwise + indicates addition
added by: DS, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
has purpose to add two operands together or to perform string concatenationadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
has syntax
operand1 + operand2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
indicates addition    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:52.0
is said to be an overloaded operator because it has two different meanings depending on the types of its operandsadded by: JK, source: On To Java, 2001-10-19 11:35:52.0
is a subtopic of Operators2001-10-19 11:35:52.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
++has example
example expressionequivalent longer expression
a++;
b=a++;
++a;
b=++a;
a=a+1;
b=a; a=a+1;
a=a+1;
a=a+1; b=a;
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:53.0
has purpose to increment its operand by oneadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
is a subtopic of Operators2001-10-19 11:35:53.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
is an instance of postfix operatoradded by: JK, 2001-10-19 11:35:53.0
is an instance of prefix operatoradded by: JK, 2001-10-19 11:35:53.0
is an instance of unary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
can be used in prefix or postfix form    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:53.0
+=has equivalent
op1 += op2 
is equivalent to
op1 = op1 + op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
has example
example expressionequivalent longer expression
a+=b;a=a+b;
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:53.0
is a subtopic of Operators2001-10-19 11:35:53.0
is an instance of augmented assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
-has purpose to subtract one operand from anotheradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
has syntax
operand1 - operand2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
indicates subtraction    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:49.0
is a subtopic of Operators2001-10-19 11:35:50.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
--has example
example expressionequivalent longer expression
a--;
b=a--;
--a;
b=--a;
a=a-1;
b=a; a=a-1;
a=a-1;
a=a-1; b=a;
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:51.0
has purpose to decrement its operand by oneadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
is a subtopic of Operators2001-10-19 11:35:50.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
is an instance of postfix operatoradded by: JK, 2001-10-19 11:35:50.0
is an instance of prefix operatoradded by: JK, 2001-10-19 11:35:50.0
is an instance of unary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:50.0
can be used in prefix or postfix form    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:51.0
-=has equivalent
op1 -= op2
is equivalent to
op1 = op1 - op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
has example
example expressionequivalent longer expression
a-=b;a=a-b;
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:51.0
is a subtopic of Operators2001-10-19 11:35:52.0
is an instance of augmented assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
.is a subtopic of Operators2001-10-19 11:35:48.0
is a synonym of dot operator2001-10-19 11:36:37.0
is an instance of operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:48.0
is used to access an instance variable of an object in Java, for example: b.variableName    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:48.0
/has purpose to divide one operand by anotheradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
has syntax
operand1 / operand2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:48.0
indicates division    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:51.0
is a subtopic of Operators2001-10-19 11:35:48.0
is an instance of arithmetic operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
/=has equivalent
op1 /= op2
is equivalent to
op1 = op1 / op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
has example
example expressionequivalent longer expression
a/=b;a=/b;
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:49.0
is a subtopic of Operators2001-10-19 11:35:49.0
is an instance of augmented assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
<has purpose to return true if the first operand is less than the second operandadded by: JK, source: On To Java, 2001-10-19 11:35:53.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
is an instance of relational operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
<<is a subtopic of Operators2001-10-19 11:35:53.0
is an instance of shift operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
<<=has equivalent
op1 <<= op2
is equivalent to
op1 = op1 << op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
is a subtopic of Operators2001-10-19 11:35:53.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:53.0
<=has purpose to return true if the first operand is less than or equal to the second operandadded by: JK, source: On To Java, 2001-10-19 11:35:54.0
is a subtopic of Operators2001-10-19 11:35:54.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:54.0
is an instance of relational operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:54.0
=indicates assignment    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:54.0
is a subtopic of Operators2001-10-19 11:35:54.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:54.0
returns the same value as the value assignedadded by: JK, source: On To Java, 2001-10-19 11:35:54.0
==has purpose to compare any two variables to test if they are identical, which means they either refer to the same objects or have the same primitive values    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:54.0
is a subtopic of Operators2001-10-19 11:35:54.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:54.0
is an instance of identity comparison operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:54.0
is an instance of relational operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:54.0
is used by boolean data typesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:54.0
returns a boolean    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:54.0
>has purpose to return true if the first operand is greater than the second operandadded by: JK, source: On To Java, 2001-10-19 11:35:54.0
is a subtopic of Operators2001-10-19 11:35:54.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:54.0
is an instance of relational operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
>=has purpose to return true if the first operand is greater than or equal to the second operandadded by: JK, source: On To Java, 2001-10-19 11:35:55.0
is a subtopic of Operators2001-10-19 11:35:55.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
is an instance of relational operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
>>is a subtopic of Operators2001-10-19 11:35:55.0
is an instance of shift operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
>>=has equivalent
op1 >>= op2
is equivalent to
op1 = op1 >> op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
is a subtopic of Operators2001-10-19 11:35:55.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
>>>is a subtopic of Operators2001-10-19 11:35:55.0
is an instance of shift operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
>>>=has equivalent
op1 >>>= op2
is equivalent to
op1 = op1 >>> op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:55.0
is a subtopic of Operators2001-10-19 11:35:56.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:56.0
?:has right to left associativityadded by: Judy, source: Java in a Nutshell, 2001-10-19 11:35:49.0
has purpose to evaluate the expression on the left and return one value if the expression is true and a different value if the expression if false    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
has syntax
 result = (condition) ? doSomething() : doSomethingElse();
If condition is true, then result is set to the expression following the question mark, otherwise result is set to the expression following the colon   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:49.0
has syntax
expression ? op1 : op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
is a subtopic of Operators2001-10-19 11:35:49.0
is a synonym of conditional operator2001-10-19 11:36:31.0
is an instance of operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
is an instance of tertiary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:49.0
returns the value of the selected expressionadded by: JK, source: On To Java, 2001-10-19 11:35:49.0
can shorten code but can also make code harder to understand    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:49.0
abbreviationis a kind of kbTopadded by: JK, 2001-10-19 11:35:56.0
abstracthas definition A Java programming language keyword used in a class definition to specify that a class is not to be instantiated, but rather inherited by other classesadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:35:56.0
has definition A keyword that means a class cannot be instantiatedadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:35:56.0
has purpose
  • to indicate that a class cannot be instantiated
  • or to indicate that a method has no implementation
added by: JK, 2001-10-19 11:35:56.0
is a subtopic of Classes2001-10-19 11:35:56.0
is a subtopic of Methods2001-10-19 11:35:56.0
is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:35:56.0
is used to declare abstract class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:56.0
is used to declare abstract method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:56.0
can modify method, class, interfaceadded by: JK, source: Java in a Nutshell, 2001-10-19 11:35:56.0
abstract classdefines generic behaviouradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:57.0
has definition A class that can only be subclassed - it cannot be instantiated or the compiler will display an error message and refuse to compile the program    added by: JK, source: Sun Java Tutorial, modified by: JK, reference: Tutorial, 2001-10-19 11:35:57.0
has purpose to hold features that will be inherited by two or more subclasses    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:57.0
is a kind of classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:57.0
is a subtopic of Classes2001-10-19 11:35:57.0
is created by specifying the abstract keyword on the first line when you declare the class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:57.0
is not required to have any abstract methods    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:57.0
is the opposite of concrete classadded by: JK, 2001-10-19 11:35:57.0
can define 1 programming interfaceadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:56.0
can have concrete methods or instance variables    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:56.0
can omit some or all of the implementation of its methods    added by: JK, source: Sun Java Tutorial Laganière, 2001-10-19 11:35:57.0
can provide 0 or more method declarations for all methods needed to implement its programming interface to its subclassesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:57.0
cannot be finaladded by: JK, source: On To Java, 2001-10-19 11:35:57.0
cannot have instancessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:57.0
usually is not fully definedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:57.0
abstract data typeis a synonym of interfacesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:57.0
abstract methodhas definition A method with no implementation    added by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:35:57.0
has purpose to serve as a placeholder, indicating that subclasses must have concrete implementations    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:57.0
is a kind of instance methodsource: Sun Java Tutorial, 2001-10-19 11:35:57.0
is a subtopic of Methods2001-10-19 11:35:57.0
is always overridden by a method in a subclassadded by: JK, source: On To Java, 2001-10-19 11:35:57.0
is created by marking it abstract    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:57.0
does not have part bodyadded by: JK, source: On To Java, 2001-10-19 11:35:57.0
may not be defined in a class that is not abstractadded by: JK, source: On To Java, 2001-10-19 11:35:58.0
must have overriding methods in all non-abstract subclasses with instances that call that method    added by: JK, source: On To Java, 2001-10-19 11:35:58.0
must not contain any executable statements in its body    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:58.0
Abstract Windowing Toolkithas specification    2001-10-19 11:35:58.0
has been largely replaced by the Project Swing component setadded by: WH, modified by: JK, 2001-10-19 11:35:58.0
has definition A collection of graphical user interface (GUI) components that were implemented using native-platform versions of the componentsadded by: WH, modified by: JK, 2001-10-19 11:35:58.0
is a kind of collection of software componentsadded by: WH, 2001-10-19 11:35:58.0
is a subtopic of Graphical User Interfaces2001-10-19 11:35:58.0
is a subtopic of Java Tools2001-10-19 11:35:58.0
is abbreviated as AWTadded by: WH, 2001-10-19 11:35:58.0
is part of core APIadded by: WH, 2001-10-19 11:35:58.0
provides the subset of functionality which is common to all native platformsadded by: WH, modified by: JK, 2001-10-19 11:35:58.0
abstractionis a kind of kbTopadded by: JK, 2001-10-19 11:35:58.0
is a subtopic of Object Oriented Programming Concepts2001-10-19 11:35:58.0
abstraction mechanismis a kind of mechanismadded by: JK, 2001-10-19 11:35:58.0
is a subtopic of Object Oriented Programming Concepts2001-10-19 11:35:58.0
Access Controlis a subtopic of Classes and Methods2001-10-19 11:35:58.0
access modeis a kind of kbTopadded by: JK, 2001-10-19 11:35:58.0
is a subtopic of Access Control2001-10-19 11:35:58.0
see also access modifieradded by: JK, 2001-10-19 11:35:58.0
access modifierhas definition A keyword that specifies how restricted the access is to a class or interface or variable or methodadded by: DS, reference: Source 2, 2001-10-19 11:35:58.0
has purpose to control which other code can have access to a method or variable    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:59.0
is a kind of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:35:59.0
is a subtopic of Access Control2001-10-19 11:35:59.0
is a synonym of access specifier2001-10-19 11:35:59.0
is a synonym of visibility modifier2001-10-19 11:38:16.0
is partitioned into private, protected, publicadded by: DS, source: Sun Java Tutorial, modified by: WH, see also: default accessibility, 2001-10-19 11:35:59.0
precedes the definition of a method, instance variable or class variable    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:59.0
see also access modeadded by: JK, 2001-10-19 11:35:59.0
access modifier of an overriding methodis a kind of access modifieradded by: JK, 2001-10-19 11:35:59.0
is a subtopic of Access Control2001-10-19 11:35:59.0
can allow more access than the overridden method's access modifier allowsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:59.0
cannot allow less access than the overridden method's access modifier allowsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:59.0
access specifieris a synonym of access modifieradded by: JK, 2001-10-19 11:35:59.0
access unithas access modeadded by: WH, modified by: JK, 2001-10-19 11:35:59.0
has definition A syntactic unit to which access can be controlled with an access modifieradded by: DS, reference: Source 2, 2001-10-19 11:35:59.0
is a kind of syntactic unitadded by: DS, 2001-10-19 11:35:59.0
is a subtopic of Access Control2001-10-19 11:35:59.0
may have access modifieradded by: DS, modified by: WH, modified by: JK, 2001-10-19 11:35:59.0
accessor methodallows you to include additional computation, for example writing out a messageadded by: JK, source: On To Java, 2001-10-19 11:35:59.0
facilitates data abstraction    added by: JK, source: On To Java, 2001-10-19 11:35:59.0
has definition A method which returns (getter) or changes (setter, mutator) the state of an object    comment: applies to the state of a class too?, added by: WH, source: T24e Glossary, 2001-10-19 11:35:59.0
is a kind of methodadded by: WH, 2001-10-19 11:36:00.0
is a subtopic of Methods2001-10-19 11:36:00.0
can provide access to imaginary instance variable that exist only in the sense that their values can be computed from instance variables that do existadded by: JK, source: On To Java, 2001-10-19 11:35:59.0
should be provided if you anticipate that the detailed definition of a class may change because this will isolate the effects of potential changes    added by: JK, source: On To Java, 2001-10-19 11:36:00.0
actionis a kind of kbTopadded by: JK, 2001-10-19 11:36:00.0
An Introduction to Object Oriented Programming with Javahas author C. Thomas Wusource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:00.0
has ISBN number 0-07-239684-9source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:00.0
has URL http://www.drcaffeine.com/    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:00.0
is a subtopic of References2001-10-19 11:36:00.0
is an instance of booksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:00.0
was published by McGraw Hillsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:00.0
was published in 2000source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:00.0
ancestorhas definition A class A is an ancestor of class B if it is farther up in the class hierarchy than class B and class B is descended from itadded by: JK, reference: Source 2, 2001-10-19 11:36:00.0
is a kind of classadded by: WH, 2001-10-19 11:36:00.0
is a subtopic of Inheritance2001-10-19 11:36:00.0
is a synonym of ascendant2001-10-19 11:36:08.0
is a synonym of ascendant class2001-10-19 11:36:08.0
anonymous inner classis a kind of inner classadded by: Marvin, 2001-10-19 11:36:00.0
is a subtopic of Classes2001-10-19 11:36:00.0
can extend another classadded by: Marvin, 2001-10-19 11:36:00.0
can implement a single interfaceadded by: Marvin, 2001-10-19 11:36:00.0
cannot define a constructoradded by: Marvin, 2001-10-19 11:36:00.0
APIis a subtopic of How Java Works2001-10-19 11:36:01.0
is an abbreviation for Application Programming Interfaceadded by: JK, 2001-10-19 11:36:00.0
is an instance of abbreviationadded by: JK, 2001-10-19 11:36:01.0
appletadheres to a set of conventions that lets it run within a Java-compatible browseradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:01.0
has definition A program that adheres to certain conventions that allow it to run within a Java-enabled browser    added by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:01.0
has example
import java.awt.Graphics;
class HelloWorldApplet extends java.applet.Applet {
public void paint(Graphics g) {
g.drawString("HelloWorld!",5,25);
}
}
added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:36:01.0
is an instance of Applet class, JApplet class or one of their subclasses    added by: JK, source: On To Java, 2001-10-19 11:36:01.0
is a kind of Java programadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:02.0
is a subtopic of Applets2001-10-19 11:36:01.0
is a synonym of Java applet2001-10-19 11:37:05.0
is started by an init methodadded by: JK, source: On To Java, 2001-10-19 11:36:01.0
is usually written using Java 1.0 or Java 1.1 because most web browsers do not support later versions of Java    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:01.0
normally does not run standalone    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:02.0
runs in added by: DS, source: Sun Java Tutorial, modified by: JK, 2001-10-19 11:36:02.0
can be embedded in an HTML page    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:01.0
can be loaded from a remote or local locationadded by: Marvin, 2001-10-19 11:36:01.0
can be viewed by a Java-compatible Web browseradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:01.0
can be written using Java 2 but the person viewing the applet must be using a browser that supports it or they must download the Java Plug-inadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:01.0
can have a main method if it is to be run standalone (usually for the purpose of testing)    added by: JJ, source: JT, 2001-10-19 11:36:01.0
can have parameters which are passed from the HTML file to the applet when the applet is loaded    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:01.0
cannot change the executing machine's environment    added by: Marvin, 2001-10-19 11:36:01.0
cannot read arguments from the command line    added by: DS, 2001-10-19 11:36:01.0
Applet classhas final sequence of statements defined in the destroy() methodadded by: Marvin, 2001-10-19 11:36:02.0
has initialization sequence found in the init() methodadded by: Marvin, 2001-10-19 11:36:02.0
has paint() method to display graphical outputadded by: Marvin, 2001-10-19 11:36:02.0
has start procedure in the start() methodadded by: Marvin, 2001-10-19 11:36:02.0
has stopping procedure in the Stop() methodadded by: Marvin, 2001-10-19 11:36:02.0
is a subtopic of Applets2001-10-19 11:36:02.0
is an instance of class    added by: DS, 2001-10-19 11:36:02.0
is part of applet packageadded by: Marvin, 2001-10-19 11:36:02.0
appletdoes not have part added by: Marvin, source: On To Java, 2001-10-19 11:36:01.0
does not need a main method if it is used solely in a browser    added by: JK, source: On To Java, 2001-10-19 11:36:01.0
must implement one ofadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:02.0
must implement a destroy method which is executed when the applet is no longer neededadded by: WH, source: Sun Java Tutorial, 2001-10-19 11:36:02.0
must implement a stop method which may be executed anytime, usually when the applet is not immediately visibleadded by: WH, modality: necessary, source: Sun Java Tutorial, 2001-10-19 11:36:02.0
applet parameterhas part name and valueadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:02.0
is a kind of parameter2001-10-19 11:36:02.0
is a subtopic of Applets2001-10-19 11:36:02.0
is passed to the applet when the applet is loadedadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:02.0
is specified in the applet tag using a PARAM argumentadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:02.0
applet tagcontains configuration information for an appletadded by: Marvin, 2001-10-19 11:36:02.0
has attributes added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:02.0
has example
<APPLET CODE="MeterApplet.class" width="300" height="200"></APPLET>
added by: JK, source: On To Java, 2001-10-19 11:36:02.0
is a kind of HTML tagadded by: Marvin, 2001-10-19 11:36:03.0
is a subtopic of Applets2001-10-19 11:36:03.0
applet viewerhas purpose allows you to run applets in an html file outside a web browseradded by: JK, source: On To Java, 2001-10-19 11:36:03.0
is a kind of Java programadded by: Marvin, 2001-10-19 11:36:03.0
is a subtopic of Applets2001-10-19 11:36:03.0
is part of the Java Development Kitadded by: JK, source: Java in a Nutshell, 2001-10-19 11:36:03.0
to run you type on the command line:
appletviewer file:///fileName
where fileName is a URL or the path to an HTML file
added by: JK, source: Java in a Nutshell, 2001-10-19 11:36:03.0
Appletsis a subtopic of kbTop2001-10-19 11:36:03.0
applicationconsists of one or more classes    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
contains one class that contains a main method which serves as the starting point for the rest of the program    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
has definition A Java program that does not run in a Web browser    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
has example of running
java HelloWorld
  
added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
has part 1 main method called its entry pointadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:03.0
is a kind of Java programadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:03.0
is a subtopic of How Java Works2001-10-19 11:36:03.0
is a synonym of Java application2001-10-19 11:37:05.0
is run by using a Java interpreter to load the application's main class file - this is normally done from the command-line prompt using the java tool from the SDKadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
is similar to an appletadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:03.0
may have command line arguments    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
Application Programming Interfacehas definition The specification of how a programmer writing an application accesses the behaviour and state of classes and objectsadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:04.0
is a kind of specificationadded by: JK, 2001-10-19 11:36:04.0
is a subtopic of How Java Works2001-10-19 11:36:04.0
is abbreviated as APIadded by: WH, 2001-10-19 11:36:04.0
specifies how a programmer accesses the behaviour and state of classes and objectsadded by: WH, 2001-10-19 11:36:04.0
applicationto run you type java and the class file name (without its extension) on the command line    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
argumentis a synonym of parameteradded by: DS, 2001-10-19 11:36:04.0
argument of an operatoris a synonym of operandadded by: DS, 2001-10-19 11:36:04.0
arithmetic expressionis a synonym of numeric expressionadded by: DS, 2001-10-19 11:36:04.0
arithmetic operatorhas purpose to perform basic arithmetic operationsadded by: JT, source: Sun Java Tutorial, 2001-10-19 11:36:04.0
is a kind of operator2001-10-19 11:36:04.0
is a subtopic of Operators2001-10-19 11:36:04.0
arrayhas a fixed sizeadded by: JK, source: On To Java, 2001-10-19 11:36:04.0
has a mechanism for preventing access outside the bounds of the arrayadded by: Marvin, 2001-10-19 11:36:04.0
has a type which is the type of every data item in the arrayadded by: WH, 2001-10-19 11:36:04.0
has definition A collection of data items that are all of the same type, in which each item's position is uniquely designated by an integeradded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:04.0
has example
//the following sums all the elements of an integer array:
for(int i = 0; i < anIntArray.length; i++)
{
sum += anIntArray[i];
}   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:04.0
has example of creation
//Create an array called numbers containing 4 integers
int numbers;
numbers = new int [4];
//Or create the array combining the two statements into one
int numbers [] = new int [4];
//Or create the array and initialize it too
int numbers [] = {1, 2, 3, 4};
added by: JK, source: On To Java, 2001-10-19 11:36:04.0
has length stored in the instance variable length    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:04.0
is more efficient than specialized collection classes    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:04.0
is object-like but is not a true instance of a class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:04.0
is zero-based which means the first element is element 0    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:04.0
is a kind of objectadded by: DS, 2001-10-19 11:36:05.0
is a subtopic of Arrays2001-10-19 11:36:05.0
is created using the new operatoradded by: JK, source: On To Java, 2001-10-19 11:36:05.0
is declared using an array declarationadded by: JK, source: On To Java, 2001-10-19 11:36:05.0
is initialized to default values if it is created using new added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:05.0
is not an instance of a class which you can subclass or for which you can write your own codesource: Object Oriented Software Engineering by Lethbridge and Laganière link:javadocument.html#800, 2001-10-19 11:36:05.0
array access expressionhas example myArray[1]added by: DS, 2001-10-19 11:36:05.0
is a kind of expressionadded by: DS, 2001-10-19 11:36:05.0
is a subtopic of Arrays2001-10-19 11:36:05.0
arraycan be composed of primitive types or instances of classes    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:04.0
array constantis a synonym of array literaladded by: DS, modified by: WH, 2001-10-19 11:36:05.0
array creation expressionhas example new int[10] (array is created at run time)added by: DS, 2001-10-19 11:36:05.0
is a kind of new expressionadded by: DS, 2001-10-19 11:36:05.0
is a subtopic of Arrays2001-10-19 11:36:05.0
array declarationhas example
int[] anIntArray = new int[25];
byte[] aByteArray; // not initialized
Account[] anAccountArray = new Account[numAccounts];   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
has syntax
dataTypeOfElements[] arrayName;
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:05.0
has syntax square brackets following the type    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
is a kind of declarationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
is a subtopic of Arrays2001-10-19 11:36:05.0
array literalhas example {1,2,3} (array is created at compile time)added by: DS, 2001-10-19 11:36:06.0
is a kind of literaladded by: DS, 2001-10-19 11:36:06.0
is a kind of object creation expressionadded by: DS, 2001-10-19 11:36:06.0
is a subtopic of Arrays2001-10-19 11:36:06.0
is a subtopic of Literals2001-10-19 11:36:06.0
is a synonym of array constant2001-10-19 11:36:05.0
array of numbersis a kind of arrayadded by: JK, source: On To Java, 2001-10-19 11:36:07.0
is a subtopic of Arrays2001-10-19 11:36:07.0
is initialized automatically so that every element has the value 0added by: JK, source: On To Java, 2001-10-19 11:36:07.0
arrayshould be avoided if you do not know beforehand the number of items it will contain    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
should not be used to manipulate collections of objects    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
array typeis a kind of reference typeadded by: DS, 2001-10-19 11:36:07.0
is a subtopic of Arrays2001-10-19 11:36:07.0
ArrayListhas specification    2001-10-19 11:36:07.0
has methods set, add and remove    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:07.0
has purpose to allow you to build collections of objects that grow as more objects are added    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:07.0
is a subtopic of Collections2001-10-19 11:36:07.0
is a subtopic of Example Classes2001-10-19 11:36:07.0
is an instance of collection classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:07.0
Arraysis a subtopic of Java Basics2001-10-19 11:36:08.0
ascendantis a synonym of ancestoradded by: WH, 2001-10-19 11:36:08.0
ascendant classis a synonym of ancestoradded by: DS, 2001-10-19 11:36:08.0
ASCIIis a subtopic of How Java Works2001-10-19 11:36:08.0
is an instance of coding schemesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:08.0
cannot represent all the symbols used in languages other than English    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:08.0
assignment expressionhas definition An expression that contains an assignment operatoradded by: DS, reference: Source 2, 2001-10-19 11:36:08.0
has example (x = 1) * 2 (with no ;)added by: DS, 2001-10-19 11:36:08.0
has purpose to assign to a variableadded by: DS, 2001-10-19 11:36:08.0
is a kind of expressionadded by: DS, 2001-10-19 11:36:08.0
is a subtopic of Statements and Expressions2001-10-19 11:36:08.0
assignment operatorhas definition An operator that performs assignment to the variable on the left and returns the value of the expression on the rightadded by: DS, reference: Source 2, 2001-10-19 11:36:08.0
is a kind of operator2001-10-19 11:36:08.0
is a subtopic of Operators2001-10-19 11:36:08.0
assignment statementhas example
aVariable = 5;    
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:08.0
has purpose to assign a value to a variable    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:08.0
is a kind of expression statementadded by: JK, 2001-10-19 11:36:08.0
is a subtopic of Statements and Expressions2001-10-19 11:36:08.0
associationhas example class Person in a business application might have the following relationships:    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:08.0
is a kind of kbTop2001-10-19 11:36:09.0
represents the relationship between instances of one class and instances of another    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:09.0
attributehas definition a simple piece of data used to represent the properties of an object    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:09.0
has example each instance of class Person might have the following attributes:
  • name
  • dateOfBirth
  • socialSecurityNumber
  • telephoneNumber
  • address
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:09.0
is a kind of kbTopadded by: JK, 2001-10-19 11:36:09.0
augmented assignment operatorhas syntax
variable name operator= expression
added by: JK, source: On To Java, 2001-10-19 11:36:09.0
is a kind of assignment operatoradded by: JK, source: On To Java, 2001-10-19 11:36:09.0
is a subtopic of Operators2001-10-19 11:36:09.0
reassigns a variable to a value obtained through a combination of the variable's current value with an expression's valueadded by: JK, source: On To Java, 2001-10-19 11:36:09.0
may cause an expression written using it to execute faster than the corresponding expression written without itadded by: JK, source: On To Java, 2001-10-19 11:36:09.0
AWTis a subtopic of Graphical User Interfaces2001-10-19 11:36:09.0
is a subtopic of Java Tools2001-10-19 11:36:09.0
is an abbreviation for Abstract Windowing Toolkitadded by: JK, 2001-10-19 11:36:09.0
is an instance of abbreviationadded by: JK, 2001-10-19 11:36:09.0
AWT componentis simpler than Java Beans or Swing components but more limitedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:09.0
is a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:09.0
is a subtopic of Graphical User Interfaces2001-10-19 11:36:09.0
behaviourhas definition The set of all responses to all possible messagesadded by: DS, reference: Source 2, 2001-10-19 11:36:09.0
has definition The way an object or system acts and reacts, possibly changing its statesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:09.0
is a kind of kbTopadded by: JK, 2001-10-19 11:36:09.0
behaviour of subclassis more specialized than behaviour of its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:10.0
is a kind of behaviouradded by: JK, 2001-10-19 11:36:10.0
is a subtopic of Classes2001-10-19 11:36:10.0
binary operatorhas definition An operator that has 2 argumentsadded by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:10.0
has definition An operator that has two operandsadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:10.0
is a kind of operatoradded by: JK, 2001-10-19 11:36:10.0
is a subtopic of Operators2001-10-19 11:36:10.0
uses an infix notationadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:10.0
bindingis a kind of mechanism2001-10-19 11:36:10.0
bitwise operatorhas definition An operator that performs a boolean operation bit by bit on two integral types of the same lengthadded by: DS, reference: Source 2, 2001-10-19 11:36:10.0
is a kind of operator2001-10-19 11:36:10.0
is a subtopic of Operators2001-10-19 11:36:10.0
blockcontains several statements surrounded by braces    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:10.0
has definition A syntactic unit that groups statements or makes new declarationsadded by: DS, reference: Source 2, 2001-10-19 11:36:10.0
has definition Any code between matching bracesadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:10.0
has example
{
a =5;
b = computeSomething;
}   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:10.0
has layout example style preferred by Sun:
if(condition) {
// statements
}
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:10.0
has layout example style preferred by the authors:
if(condition)
{
// statements
}
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:10.0
has purpose to create a new scope and/or to create a compound statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:10.0
is a kind of scoping unitadded by: DS, 2001-10-19 11:36:10.0
is a subtopic of Statements and Expressions2001-10-19 11:36:10.0
is partitioned into body, nested block2001-10-19 11:36:10.0
is used as the body of classes, loops, conditional statements and for exception handling    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:10.0
bodyhas definition A block that is not nested inside another blockreference: Source 2, 2001-10-19 11:36:10.0
is a kind of block2001-10-19 11:36:11.0
is a subtopic of Statements and Expressions2001-10-19 11:36:11.0
bookis a kind of publicationadded by: JK, 2001-10-19 11:36:11.0
booleanis a kind of primitive valueadded by: DS, 2001-10-19 11:36:11.0
is a subtopic of Variables and Data Types2001-10-19 11:36:11.0
see also Boolean classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:11.0
can use == operator    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:11.0
can use basic arithmetic operators +, -, *, / and %source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:11.0
Boolean classhas specification    2001-10-19 11:36:11.0
is a subtopic of Example Classes2001-10-19 11:36:11.0
is a subtopic of Variables and Data Types2001-10-19 11:36:11.0
is an instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:11.0
see also booleansource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:11.0
boolean expressionhas definition An expression that produces a true or false resultadded by: JK, source: On To Java, 2001-10-19 11:36:11.0
has example x < y & z > 1added by: DS, 2001-10-19 11:36:11.0
has purpose
  • to compute values
  • or to control the flow of execution
added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:11.0
has type booleanadded by: JK, 2001-10-19 11:36:11.0
is a kind of expressionadded by: DS, 2001-10-19 11:36:11.0
is a subtopic of Statements and Expressions2001-10-19 11:36:11.0
boolean literalhas example trueadded by: DS, 2001-10-19 11:36:11.0
is a kind of literaladded by: DS, 2001-10-19 11:36:12.0
is a subtopic of Literals2001-10-19 11:36:12.0
can be true or falseadded by: JK, 2001-10-19 11:36:11.0
boolean operatoris a synonym of logical operatoradded by: DS, modified by: WH, 2001-10-19 11:36:12.0
boolean^2has default value falseadded by: JK, 2001-10-19 11:36:12.0
is a subtopic of Variables and Data Types2001-10-19 11:36:12.0
is an instance of primitive typeadded by: DS, 2001-10-19 11:36:12.0
can have value true or falseadded by: JK, source: Teach Yourself Java, 2001-10-19 11:36:12.0
may not be cast to or from any other typeadded by: JK, source: Java in a Nutshell, 2001-10-19 11:36:12.0
may not be treated as an integer as in Cadded by: JK, source: Java in a Nutshell, 2001-10-19 11:36:12.0
boolean^3has purpose to indicate that a variable is of type booleanadded by: JK, 2001-10-19 11:36:12.0
is a subtopic of Variables and Data Types2001-10-19 11:36:12.0
is an instance of keyword2001-10-19 11:36:12.0
Borland JBuilderhas URL http://www.borland.com/jbuilder/    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:12.0
is a subtopic of Java Tools2001-10-19 11:36:12.0
is an instance of programming environmentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:12.0
breakhas purpose to indicate a break statementadded by: JK, 2001-10-19 11:36:12.0
is a subtopic of Loops and Decision Making2001-10-19 11:36:12.0
is an instance of keyword2001-10-19 11:36:12.0
break statementcauses execution to immediately halt the current loopadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:12.0
has purpose to terminate a loop or switch-case statementadded by: DS, 2001-10-19 11:36:13.0
is a kind of control flow statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:13.0
is a subtopic of Loops and Decision Making2001-10-19 11:36:13.0
see also breakadded by: JK, 2001-10-19 11:36:13.0
browserhas procedure for handling applets:
  1. the browser finds the applet tag
  2. the browser creates an instance of the applet's class
  3. the browser sets the size of the applet based on the size specified in the applet tag
  4. the applet is connected to the browser
  5. the browser calls the init method of the applet
  6. the browser calls the start method of the applet
  7. the runtime system sends events to the applet
  8. the browser sends the stop method of the applet
  9. the browser calls the destroy method of the applet
added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:13.0
is a synonym of Web browseradded by: JK, 2001-10-19 11:36:13.0
built-in exception source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
is a kind of exceptionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
is a subtopic of Exception Handling2001-10-19 11:36:13.0
buttonis a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
is a subtopic of Graphical User Interfaces2001-10-19 11:36:13.0
byteis a kind of integeradded by: DS, 2001-10-19 11:36:13.0
is a subtopic of Variables and Data Types2001-10-19 11:36:13.0
requires 8 bits    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
see also Byte class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
can use basic arithmetic operators +, -, *, / and %    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
Byte classhas specification    2001-10-19 11:36:13.0
is a subtopic of Example Classes2001-10-19 11:36:14.0
is a subtopic of Variables and Data Types2001-10-19 11:36:14.0
is an instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:14.0
see also byte    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:14.0
byteshould not be used for textual data which is to be exposed to the end user    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:13.0
byte^2is a subtopic of Variables and Data Types2001-10-19 11:36:14.0
is an instance of integer^2added by: DS, 2001-10-19 11:36:14.0
specifies the set of bytes from 00 to FFadded by: DS, 2001-10-19 11:36:14.0
can hold a value between -128 and 127added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:36:14.0
byte^3has purpose to indicate that a variable is of type byteadded by: JK, 2001-10-19 11:36:14.0
is a subtopic of Variables and Data Types2001-10-19 11:36:14.0
is an instance of keywordadded by: JK, 2001-10-19 11:36:14.0
bytecodehas definition Machine-independent code generated by the Java compiler and executed by the Java interpreteradded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:14.0
has purpose to make possible "write once, run anywhere"added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:14.0
is like a universal machine language    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:14.0
is a kind of executable codeadded by: JK, 2001-10-19 11:36:15.0
is a subtopic of How Java Works2001-10-19 11:36:14.0
is not designed to be read by human beings    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:14.0
is stored in class files ending with the .class suffix, or in libraries ending with .jar    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
can be run on any computer with an implementation of the Java Virtual Machine specificationadded by: DS, source: Sun Java Tutorial, modified by: JK, 2001-10-19 11:36:14.0
bytecode verifierchecks that a class is not a subclass of a final classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:15.0
ensures that subversion is not taking place at the bytecode leveladded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:15.0
has definition A verifier that is part of the Class File verifier and which performs a data-flow analysis on the actual bytecode stream that is contained in each method definition in the class .added by: JK, reference: Source 2, 2001-10-19 11:36:15.0
has purpose to verify each class loaded over a network to ensure that it obeys all Java language rulesadded by: JK, 2001-10-19 11:36:15.0
is a kind of tooladded by: WH, 2001-10-19 11:36:15.0
is a subtopic of How Java Works2001-10-19 11:36:15.0
is part of the Java Runtime System2001-10-19 11:36:15.0
C++adds object oriented extensions to Csource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
has much the same syntax as C    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
has feature macros    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
has feature multiple inheritance    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
has feature operator overloading    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
has feature pointer arithmetic    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
is the most widely used object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
is a subtopic of Java History and Related Languages2001-10-19 11:36:15.0
is an instance of object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
was developed by Bjarne Stroustrupsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:15.0
carethas purpose to perform a bitwise exclusive oradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:15.0
is a subtopic of Operators2001-10-19 11:36:15.0
is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:16.0
is an instance of bitwise operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:16.0
caret=has equivalent
op1 caret= op2
is equivalent to
op1 = op1 caret op2
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:16.0
is a subtopic of Operators2001-10-19 11:36:16.0
is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:16.0
carriage return characteris a subtopic of Literals2001-10-19 11:36:16.0
is an instance of charadded by: JK, source: On To Java, 2001-10-19 11:36:16.0
is an instance of character literaladded by: JK, 2001-10-19 11:36:16.0
is denoted by '\r'added by: JK, source: On To Java, 2001-10-19 11:36:16.0
casehas purpose to label the case clause of a switch-case statementadded by: JK, 2001-10-19 11:36:16.0
is a subtopic of Loops and Decision Making2001-10-19 11:36:16.0
is an instance of keyword2001-10-19 11:36:16.0
see also switch-case statement2001-10-19 11:36:16.0
case statementis a synonym of switch-case statementadded by: JK, 2001-10-19 11:36:16.0
cast expressionhas example (int)5.2added by: DS, 2001-10-19 11:36:16.0
has purpose to convert an expression of one type into another typeadded by: DS, 2001-10-19 11:36:16.0
is a kind of expressionadded by: DS, 2001-10-19 11:36:16.0
is a subtopic of Objects2001-10-19 11:36:16.0
cast operatorhas purpose to convert an expression of one type into another type2001-10-19 11:36:16.0
has syntax
(type) expression
added by: JK, 2001-10-19 11:36:16.0
is a subtopic of Objects2001-10-19 11:36:16.0
is an instance of operatoradded by: JK, 2001-10-19 11:36:17.0
castinghas definition The process of producing a new value that has a different type than its sourceadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
has example
(String)i.next()    
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:17.0
has purpose to convert an instance of one data type into another which is a subclass of the original typesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:17.0
is a kind of mechanismsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:17.0
is a subtopic of Objects2001-10-19 11:36:17.0
casting a primitive typehas example
//i is an int
//d is a double
(double) i // a double expression
(int) d // an int expression
// note that the original types of i and d remain the same
added by: JK, source: On To Java, 2001-10-19 11:36:17.0
has syntax (typename)valueadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
is a kind of casting2001-10-19 11:36:17.0
is a subtopic of Objects2001-10-19 11:36:17.0
cannot be used to convert a primitive type to an objectadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
may be done implicitly if the destination type is larger than the source type (such as using a byte as an int)added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
may not involve a Boolean typeadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
must be done explicitly if the destination type is smaller than the source type to avoid loss of precisionadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
casting an objecthas syntax (classname)objectadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
is a kind of casting2001-10-19 11:36:18.0
is a subtopic of Objects2001-10-19 11:36:18.0
can only be performed if the source and destination types of the object are related by inheritance - one class must be a subclass of the otheradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
cannot be used to convert an object to a primitive type - use a wrapper class insteadadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
may be done implicitly if the destination type is a subclass of the source typeadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:18.0
must be done explicitly if the destination type is a superclass of the source typeadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:18.0
catchhas purpose to indicate the catch block(s) of a try-catch-finally statementadded by: JK, 2001-10-19 11:36:18.0
is a subtopic of Exception Handling2001-10-19 11:36:18.0
is an instance of keyword2001-10-19 11:36:18.0
catch blockhas purpose to catch a particular type of exceptionadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:18.0
has syntax
// a try-catch-finally statement showing the catch blocks in bold
try{
statements
} catch (exception_type1 identifier1) {
statements
} catch (exception_type2 identifier2) {
statements
...
}
finally {
statements
}
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:18.0
is a kind of block2001-10-19 11:36:18.0
is a subtopic of Exception Handling2001-10-19 11:36:18.0
is part of try-catch-finally statementadded by: JK, 2001-10-19 11:36:18.0
charcontains 2 bytessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:18.0
has size 2 bytesadded by: DS, 2001-10-19 11:36:18.0
is a kind of integral valueadded by: DS, 2001-10-19 11:36:18.0
is a subtopic of Variables and Data Types2001-10-19 11:36:18.0
is a synonym of character2001-10-19 11:36:19.0
is a synonym of Unicode character2001-10-19 11:38:11.0
see also Character classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:18.0
can be used in a switch statement because a char is an integral typeadded by: JK, source: On To Java, 2001-10-19 11:36:18.0
can use basic arithmetic operators +, -, *, / and %    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:18.0
char^2has default value '\u0000'added by: JK, 2001-10-19 11:36:18.0
holds a two byte Unicode characteradded by: JK, source: Java in a Nutshell, 2001-10-19 11:36:18.0
is a subtopic of Variables and Data Types2001-10-19 11:36:18.0
is an instance of integral type2001-10-19 11:36:18.0
can be used as an int because each character has a corresponding numerical code that represents its position in the character setadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:18.0
does not have a sign indicating positive or negativeadded by: JK, source: On To Java, 2001-10-19 11:36:18.0
char^3has purpose to indicate that a variable is of type char2001-10-19 11:36:19.0
is a subtopic of Variables and Data Types2001-10-19 11:36:19.0
is an instance of keyword2001-10-19 11:36:19.0
characteris a synonym of charadded by: JK, 2001-10-19 11:36:19.0
Character classhas specification    2001-10-19 11:36:19.0
has method isDigitsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:19.0
is a subtopic of Example Classes2001-10-19 11:36:19.0
is an instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:19.0
see also charsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:19.0
character literalhas example 'A'added by: DS, 2001-10-19 11:36:19.0
is a kind of literaladded by: DS, 2001-10-19 11:36:19.0
is a subtopic of Literals2001-10-19 11:36:19.0
can be any single Unicode characteradded by: JK, 2001-10-19 11:36:19.0
checked exception added by: WH, source: Specification, 2001-10-19 11:36:19.0
has definition A kind of exception that Java checks for at compile time and for which a Java program contains handlersadded by: WH, source: Specification, modified by: JK, 2001-10-19 11:36:19.0
is a kind of exceptionadded by: WH, 2001-10-19 11:36:19.0
is a subtopic of Exception Handling2001-10-19 11:36:19.0
class added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:19.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:19.0
added by: DS, source: Sun Java Tutorial, modified by: WH, 2001-10-19 11:36:19.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:19.0
added by JK -source: Java in a Nutshell, 2001-10-19 11:36:19.0
adds 0 or more methods to the methods it inherits from its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:19.0
adds 0 or more variables to the variables it inherits from its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:19.0
contains all of the code that relates to its objects including    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
contains data associated with each objectsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
declares a list of variables, called instance variables, corresponding to data that will be present in each instance    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
defines added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
defines a class type whose instances are the values of the class typeadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
has 0 or more subclassesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
has 1 superclass except Object class which has no superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
has added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
has behaviour that is specified by its instance methodsadded by: JT, 2001-10-19 11:36:20.0
has more specialized behaviour than a class farther up in the class hierarchyadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
has public interface which contains its public instance variables and instance methodsadded by: JK, source: On To Java, 2001-10-19 11:36:20.0
has benefit added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
has definition A blueprint (prototype) that defines (the variables and the methods) common to all objects of a certain kindadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:20.0
has definition A software module that provides both procedural and data abstraction. It describes a set of similar objects, called its instances    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
has definition A specification that defines variables and methods common to a set of all objects of a certain kindadded by: DS, reference: Source 2, 2001-10-19 11:36:20.0
has definition A template that describes the data and behaviour of its instances called objectsadded by: DS, reference: Source 2, 2001-10-19 11:36:20.0
has example
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
added by: JK, 2001-10-19 11:36:20.0
has part class namesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
has part codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
has part constructor    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
has syntax
class classname
{ // declarations of variables
// declarations of constructors
// declarations of other methods with public ones first
}   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
inherits 0 or more methods from its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
inherits 0 or more variables from its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
inherits behaviour from its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
is abstract if it has one or more abstract methodssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
is the unit of data abstraction in an object-oriented program    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
is a descendant of Object classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
is a kind of access unitadded by: DS, 2001-10-19 11:36:21.0
is a kind of specificationadded by: DS, 2001-10-19 11:36:21.0
is a subtopic of Classes2001-10-19 11:36:21.0
is partitioned into abstract class, concrete classadded by: WH, 2001-10-19 11:36:21.0
is specified by 1 class definitionadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
provides implementation for all its instance methods unless the class is abstractadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
represents several similar objectssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
uses an implements clause to declare that it contains methods for each of the operations specified by the interface    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
class bodycontains declarations foradded by: DS, source: Sun Java Tutorial, modified by: JK, 2001-10-19 11:36:21.0
has definition A block that specifies the variable declarations, the methods and the constructors for the classadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:21.0
has purpose to specify the variable declarations, methods and constructors for a classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
has syntax
{
class element
}
where class element can be 0 or more of: variable declarations, constructors, initialization blocks, methods
added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
is a kind of body2001-10-19 11:36:21.0
is a subtopic of Classes2001-10-19 11:36:21.0
is a synonym of class definition block2001-10-19 11:36:22.0
cannot contain executable statements except inside blocksadded by: DS, 2001-10-19 11:36:21.0
classcan access any public class in other packagesadded by: DS, 2001-10-19 11:36:20.0
can be imported from a packageadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
can extend only one superclass    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
can have a main methodadded by: Marvin, 2001-10-19 11:36:20.0
can have instancessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
can have more than one constructor each of which has different sets of arguments    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
can have the same name as another class if the two classes are not in the same package and their packages are never imported into the same file    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
can implement more than one interface    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:20.0
can override methods that are inherited from the class's superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
can protect its members from access by other classes or objects using an access modifieradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:20.0
cannot inherit method implementations from an interfacesource: Sun Java Tutorial, 2001-10-19 11:36:20.0
class declaration added by: JK, source: On To Java, 2001-10-19 11:36:21.0
has definition A declaration that specifies a class and does not include the class bodyadded by: JK, reference: Source 2, 2001-10-19 11:36:22.0
has example
public class HelloWorld
added by: JK, 2001-10-19 11:36:22.0
has purpose to specify the classadded by: JK, 2001-10-19 11:36:22.0
has syntax
public abstract final class nameOfClass extends Super implements Interfaces
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:22.0
is a kind of declarationadded by: JK, 2001-10-19 11:36:22.0
is a subtopic of Classes2001-10-19 11:36:22.0
must contain the class nameadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:22.0
class defined within a methodis a kind of classadded by: Marvin, 2001-10-19 11:36:22.0
is a subtopic of Classes2001-10-19 11:36:22.0
can access fields within the method only if the fields are defined as finaladded by: Marvin, 2001-10-19 11:36:22.0
class definition added by: JK, 2001-10-19 11:36:22.0
has 1 or more constructors for the classadded by: DS, source: Sun Java Tutorial, question: what if the class is not instantiated?, 2001-10-19 11:36:22.0
has definition A definition that specifies a class and includes the class bodyadded by: JK, reference: Source 2, 2001-10-19 11:36:22.0
has example
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
added by: JK, 2001-10-19 11:36:22.0
has part class declaration, class bodyadded by: JK, 2001-10-19 11:36:22.0
has purpose to define a classadded by: JK, 2001-10-19 11:36:22.0
has syntax
public abstract final class nameOfClass extends Super implements Interfaces
{
ClassBody
}
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:22.0
is a kind of definitionadded by: JK, 2001-10-19 11:36:22.0
is a subtopic of Classes2001-10-19 11:36:22.0
is stored in source file with the same name as the class and extension .javaadded by: JK, source: On To Java, 2001-10-19 11:36:22.0
class definition blockis a synonym of class bodyadded by: JK, 2001-10-19 11:36:22.0
class definitioncan contain class methods, class variables, instance methods, instance variablesadded by: JK, source: On To Java, 2001-10-19 11:36:22.0
class filecontains bytecode    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:22.0
has definition A file that contains Java bytecodesadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:22.0
has file name extension .classadded by: DS, 2001-10-19 11:36:22.0
has purpose to hold the compiled code of a programadded by: DS, 2001-10-19 11:36:22.0
is a kind of fileadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:23.0
is a subtopic of How Java Works2001-10-19 11:36:23.0
can have a pathname that is different from the source pathnameadded by: DS, 2001-10-19 11:36:22.0
must be executed by a Java Virtual Machineadded by: DS, 2001-10-19 11:36:23.0
must have a name that is the same as the source (Java) name except for the extension .classadded by: DS, 2001-10-19 11:36:23.0
class hierarchyhas definition A hierarchy of classesadded by: JK, reference: Source 2, 2001-10-19 11:36:23.0
is a kind of hierarchy2001-10-19 11:36:23.0
is a subtopic of Inheritance2001-10-19 11:36:23.0
class in a packageis a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:23.0
is a subtopic of Packages2001-10-19 11:36:23.0
must be put into a directory with the same name as the package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:23.0
class in an imported packageis a kind of class in a packagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:23.0
is a subtopic of Packages2001-10-19 11:36:23.0
can be referred to by name if the package is imported    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:23.0
classmay have access modifier added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:21.0
class memberhas definition A member of a class which is either a field or a methodadded by: DS, reference: Source 2, 2001-10-19 11:36:23.0
is a kind of memberadded by: JK, 2001-10-19 11:36:23.0
is a subtopic of Members2001-10-19 11:36:23.0
is a synonym of static member2001-10-19 11:37:58.0
is partitioned into class method, class variableadded by: JK, 2001-10-19 11:36:23.0
can be used by every method of the classadded by: DS, 2001-10-19 11:36:23.0
class method added by: DS, 2001-10-19 11:36:23.0
affects the class as a whole, not a particular instance of the class    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:23.0
has definition A method that is invoked without reference to a particular objectadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:24.0
has definition A method that, unlike an instance method, does not execute in the context of a particular instance of a classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
has purpose implementing functions such as initializing a class, or operating on the complete set of instances of a classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
is a kind of class memberadded by: JK, 2001-10-19 11:36:24.0
is a kind of methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:24.0
is a subtopic of Methods2001-10-19 11:36:24.0
is a synonym of static method2001-10-19 11:37:58.0
is called by using the name of the class, followed by a dot, followed by the name of the method (the name of the class can be omitted when calling a class method in the current class)    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
is marked as static    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
is part of 1 classadded by: JK, 2001-10-19 11:36:24.0
operates on 0 or more class variables of its classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:24.0
specifies the behaviour of the classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:24.0
class method callhas example
methodname(instancename);
added by: JK, source: On To Java, 2001-10-19 11:36:24.0
is a kind of method call2001-10-19 11:36:24.0
is a subtopic of Methods2001-10-19 11:36:24.0
class methodcan be accessed from added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:24.0
cannot access directly any instance variableadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:24.0
cannot be overriddenadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:24.0
does not have 'this' value when it is executingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
class namehas first letter of each word capitalized by convention    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
has example PartTimeEmployee    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
is a kind of nameadded by: JK, 2001-10-19 11:36:24.0
is a subtopic of Classes2001-10-19 11:36:24.0
is written in the singular by convention    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
does not contain spaces    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:24.0
should be a noun by convention    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
should not be too general or too specific    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
class pathhas definition An ordered list of directories or zip files to search for class filesadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:25.0
is a kind of kbTopadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:25.0
is a subtopic of How Java Works2001-10-19 11:36:25.0
is set by added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:25.0
classshould be a member of 1 named package rather than the default packageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
should be named after a thing its instances represent in the real worldsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
should be placed in its own source file    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
should have a comment at the top describing the purpose of the class, how it should be used, its authors and its history of modificationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
should have a unique name since somebody in the future might want to import the packages containing both classes and hence create a name clash    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
should not be named after the internals of a computer system such as 'Record', 'Table', 'Data', 'Structure', or 'Information'    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
should order elements as follows:
  1. class variables
  2. instance variables
  3. constructors
  4. the most important public methods
  5. methods that are simply used to access variables
  6. private methods
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:21.0
class that implements an interfaceis a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
is a subtopic of Interfaces2001-10-19 11:36:25.0
does not have to be related to other classes that implement the same interface in any other way    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
class that imports a packagehas access to methods and variables in the imported package that are not declared publicsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
is a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
is a subtopic of Packages2001-10-19 11:36:25.0
classto instantiate you create an instance of itadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:21.0
class typehas definition A reference type that is defined by a class, i.e. its values are the class instancesadded by: DS, reference: Source 2, 2001-10-19 11:36:25.0
is a kind of reference type2001-10-19 11:36:25.0
is a subtopic of Classes2001-10-19 11:36:25.0
class variablebelongs to 1 classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:25.0
defines an attribute of an entire classadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:25.0
has a nameadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:25.0
has a value that is shared by all instances of a class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
has definition A data item present in a class that is shared by all instances of that class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
is a kind of class memberadded by: JK, 2001-10-19 11:36:26.0
is a kind of member variableadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:26.0
is a subtopic of Members2001-10-19 11:36:26.0
is a synonym of static field2001-10-19 11:37:58.0
is a synonym of static member variable2001-10-19 11:37:58.0
is a synonym of static variable2001-10-19 11:37:58.0
is allocated once for a classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:26.0
is allocated when the class is loadedadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:26.0
is declared in the body of the class (not inside a method)    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:26.0
is marked as static    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:26.0
is not associated with any instance of any classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:26.0
is part of a classadded by: JK, 2001-10-19 11:36:26.0
is referred to by specifying the name of the class, followed by a dot, followed by the name of the variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:26.0
represents the state of a classadded by: DS, question: do we want this? A&G say yes, 2001-10-19 11:36:26.0
takes the place of global variables used in other languagesadded by: JK, source: On To Java, 2001-10-19 11:36:26.0
can be accessed from added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:25.0
can be used to store
  • default or 'constant' values that are widely used by methods in a class
  • lookup tables and similar structures used in algorithms in a particular class
  
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:25.0
class variable definitioncontains the keyword staticadded by: JK, source: On To Java, 2001-10-19 11:36:26.0
has example
 static int num_circles = 0; 
added by: JK, source: Java in a Nutshell, 2001-10-19 11:36:26.0
has purpose to define a class variable2001-10-19 11:36:26.0
is a kind of variable definitionadded by: JK, 2001-10-19 11:36:26.0
is a subtopic of Members2001-10-19 11:36:26.0
class variableshould not be overusedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:26.0
class^2has definition A keyword that must be in a class declarationadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:26.0
is a subtopic of Classes2001-10-19 11:36:27.0
is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:27.0
Classesis a subtopic of Classes and Methods2001-10-19 11:36:27.0
Classes and Methodsis a subtopic of kbTop2001-10-19 11:36:27.0
CLASSPATH environment variableis a kind of kbTopadded by: JK, 2001-10-19 11:36:27.0
is a subtopic of How Java Works2001-10-19 11:36:27.0
specifies the class pathadded by: WH, 2001-10-19 11:36:27.0
clauseis a kind of syntactic unitadded by: JK, 2001-10-19 11:36:27.0
clonehas specification    2001-10-19 11:36:27.0
has definition A method that creates objects from other objects of the same typeadded by: JK, reference: Source 2, 2001-10-19 11:36:27.0
has purpose to create objects from other objects of the same typeadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:27.0
is a subtopic of Example Methods2001-10-19 11:36:27.0
is an instance of method that is declared in Object classadded by: JK, 2001-10-19 11:36:27.0
cloningis a synonym of duplication of codeadded by: JK, source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:27.0
codehas definition Computer programming instructionsadded by: JK, reference: Source 2, 2001-10-19 11:36:27.0
is a kind of kbTopadded by: JK, 2001-10-19 11:36:27.0
code layout principleis a kind of principlesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:28.0
is a subtopic of Programming2001-10-19 11:36:27.0
can be found at Sun    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:27.0
CodeWarriorhas URL http://metrowerks.com    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:28.0
is a subtopic of Java Tools2001-10-19 11:36:28.0
is an instance of programming environmentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:28.0
coding schemeis a kind of kbTopadded by: JK, 2001-10-19 11:36:28.0
is a subtopic of How Java Works2001-10-19 11:36:28.0
collectionhas definition A group of thingsadded by: JK, 2001-10-19 11:36:28.0
is a kind of kbTopadded by: JK, 2001-10-19 11:36:28.0
collection classhas iterator method for doing something with every member of the collectionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:28.0
has purpose working with collections of objects    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:28.0
is a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:28.0
is a subtopic of classes2001-10-19 11:36:28.0
is a subtopic of Collections2001-10-19 11:36:28.0
collection of software componentsis a kind of kbTopadded by: JK, 2001-10-19 11:36:28.0
Collectionsis a subtopic of Java Basics2001-10-19 11:36:28.0
command-line argumenthas example of use java EchoArgs Tim John "Pamela Sue" Fred 25added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:28.0
is a parameter of a main methodadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:28.0
is a kind of parameter2001-10-19 11:36:29.0
is a subtopic of Methods2001-10-19 11:36:28.0
is stored in an array of strings and passed to the main method2001-10-19 11:36:28.0
should be surrounded by quotations marks if the argument is more than one word longadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:29.0
commenthas example
 executeMe(); // doNotExecuteMe
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
has example
executeMeToo(); /* This is to be ignored
and this too */
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
has purpose to describe the purpose of each class, method and variable along with any difficult-to-understand statements inside methods, and to indicated any changes to the codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
has syntax '/*' comment '*/' or two slashes '//' indicating that the rest of the line is to be considered a comment    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
has syntax
/** commentText */
OR
/* commentText */
OR
// commentText
Note: '//' ignores everything to end of line
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
is essential to give readers an overview and to help them understand its complexities quicklysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
is a kind of syntactic unitadded by: DS, 2001-10-19 11:36:29.0
is a subtopic of Java Basics2001-10-19 11:36:29.0
can be written before writing the codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
can precede package statementsadded by: Marvin, 2001-10-19 11:36:29.0
should be between about 20% and 35% of the total length of the codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
should be written to describe each non-obvious variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
should be written to describe loops and conditional statements inside complex algorithmssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
should be written at the head of each non-obvious method describing its function and usagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
should be written at the top of each classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
should describe the purpose of the class, how it should be used, its authors and its history of modificationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
should not be about obvious things since they add cluttersource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:29.0
companyis a kind of kbTopadded by: JK, 2001-10-19 11:36:29.0
compilationhas definition The process of translating higher level code, usually source code (or bytecode) , into lower level codeadded by: DS, reference: Source 2, 2001-10-19 11:36:29.0
is a kind of processadded by: JK, 2001-10-19 11:36:29.0
is a subtopic of How Java Works2001-10-19 11:36:29.0
compiler added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
chooses a constructor based on the number of the actual arguments and the types of the actual argumentsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
compiles source code into bytecode    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
has definition A program to translate Java source code into code to be executed by a computeradded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:30.0
has purpose to translate source code written in Java into bytecode for the Java virtual machineadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:30.0
is a kind of applicationadded by: JK, 2001-10-19 11:36:30.0
is a subtopic of How Java Works2001-10-19 11:36:30.0
is a synonym of Java compiler2001-10-19 11:37:06.0
puts compiled code into a class file with the same name as the source file but with extension .classadded by: JK, source: On To Java, 2001-10-19 11:36:30.0
complex conditionis a kind of conditionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
is a subtopic of Loops and Decision Making2001-10-19 11:36:30.0
should be avoided because it is difficult to readsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
should be divided into several separate conditions on separate linessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
compound expressionhas evaluation order based on the precedence of its operand sadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:30.0
has definition An expression made up of two or more expressionsadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:30.0
has example
x * y * z
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:30.0
is a kind of expression2001-10-19 11:36:30.0
is a subtopic of Statements and Expressions2001-10-19 11:36:30.0
concrete classhas definition A class that can have instancessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
is a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
is a subtopic of Classes2001-10-19 11:36:30.0
is the opposite of abstract classadded by: JK, 2001-10-19 11:36:30.0
conditionhas definition A condition in Java is a statement that evaluates to a boolean value (true or false)    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
has examples
aNumber > 5
aNumber < 5
aNumber > 5 && anotherNumber < 7
aNumber == anotherNumber   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
is a kind of kbTopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
is a subtopic of Loops and Decision Making2001-10-19 11:36:30.0
conditional operatoris a synonym of ?:added by: JK, source: On To Java, 2001-10-19 11:36:31.0
is a synonym of logical operatoradded by: JK, 2001-10-19 11:36:31.0
conditional operator expressionhas example
//Print the value of change and "minute" or minutes" depending if change equals 1 or not
System.out.println((change == 1) ? "minute" : "minutes")
added by: JK, source: On To Java, 2001-10-19 11:36:31.0
has syntax
(boolean expression) ? if-true expression : if-false expression
added by: JK, source: On To Java, 2001-10-19 11:36:31.0
is a kind of expressionadded by: JK, source: On To Java, 2001-10-19 11:36:31.0
is a subtopic of Statements and Expressions2001-10-19 11:36:31.0
produces a value which is the value of the selected expressionadded by: JK, source: On To Java, 2001-10-19 11:36:31.0
conditional statementis a synonym of decision making statementadded by: JK, 2001-10-19 11:36:31.0
constanthas definition A variable with a value that never changesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:31.0
has lifetime longer than the existence of an instance of the classadded by: Marvin, 2001-10-19 11:36:31.0
has name a constant nameadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:31.0
is a kind of variableadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:31.0
is a subtopic of Constants2001-10-19 11:36:31.0
is a synonym of constant variable2001-10-19 11:36:32.0
is a synonym of final variable2001-10-19 11:36:44.0
can be referenced without the existence of an instance of a classadded by: Marvin, 2001-10-19 11:36:31.0
constant local variableis a kind of constant2001-10-19 11:36:31.0
is a kind of local variable2001-10-19 11:36:31.0
is a subtopic of Constants2001-10-19 11:36:31.0
is allowed in Java 1.1 and lateradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:31.0
is not allowed in Java 1.0added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:31.0
constant namehas convention the name is written in all capital lettersadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:31.0
has example
  • PI
  • DEBUG
  • PENALTY
added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:32.0
is a kind of variable nameadded by: JK, 2001-10-19 11:36:32.0
is a subtopic of Constants2001-10-19 11:36:32.0
constant that is declared in an interfaceis implicitly all of:
  • public
  • static
  • final
  • added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:32.0
    is a kind of constantadded by: JK, 2001-10-19 11:36:32.0
    is a subtopic of Constants2001-10-19 11:36:32.0
    is a subtopic of Interfaces2001-10-19 11:36:32.0
    constantto declare you use the 'final' keywordadded by: DS, source: Sun Java Tutorial, modified by: JK, 2001-10-19 11:36:31.0
    constant variableis a synonym of constant2001-10-19 11:36:32.0
    Constantsis a subtopic of Variables and Data Types2001-10-19 11:36:32.0
    constructorfacilitates data abstractionadded by: JK, source: On To Java, 2001-10-19 11:36:32.0
    has the same name as its classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:32.0
    has definition A procedure that is called whenever a new object is created    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:32.0
    has example
    // Example of creation of an account with an initial balance
    public Account(String accountHolder, float initialBalance)
    {
    this.accountHolder = accountHolder;
    balance = initialBalance;
    opened = new Date();
    }
    //Example of creation of an account with no initial balance
    public Account(String accountHolder)
    {
    this.accountHolder = accountHolder;
    balance =0.0;
    opened = new Date();
    }   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:32.0
    has example
    //Example of constructor for the class Stack
    public Stack() {
    items = new Vector(10);
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:32.0
    has purpose to initialize the instance variables of a newly created object and perform any other needed initialization    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:32.0
    has typically 1 or more arguments that determine some of the values of the variables of the classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:32.0
    is a kind of access unit2001-10-19 11:36:33.0
    is a subtopic of Constructors2001-10-19 11:36:33.0
    is called when the new operator is used to create an instance of a classadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:33.0
    is not a memberadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:32.0
    is not a methodadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:33.0
    is not inherited by a subclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:33.0
    is part of class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:33.0
    normally calls the zero-parameter constructor in the direct superclass firstadded by: JK, source: On To Java, 2001-10-19 11:36:33.0
    provides a way to initialize a new objectadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:33.0
    always have the same name as the classadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:32.0
    can be overloaded using method name overloadingadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:32.0
    can call another constructor in the same class, instead of the superclass's zero-parameter constructor, by adding a new statement (as the first statement in the constructor) consisting of the keyword this followed by an argument listadded by: JK, source: On To Java, 2001-10-19 11:36:32.0
    can call another constructor in the superclass, instead of the superclass's zero-parameter constructor, by adding a new statement (as the first statement in the constructor) consisting of the keyword super followed by an argument listadded by: JK, source: On To Java, 2001-10-19 11:36:32.0
    can not be called directlyadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:32.0
    can not return a valueadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:32.0
    can use a constructor of the class's superclass with a super() calladded by: DS, 2001-10-19 11:36:32.0
    does not have a return typeadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:32.0
    does not have a return type since it does not return a valueadded by: JK, source: On To Java, 2001-10-19 11:36:32.0
    does not return a valueadded by: JK, source: On To Java, 2001-10-19 11:36:32.0
    may have access modifier added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:33.0
    constructor with no parametersis a kind of constructor2001-10-19 11:36:33.0
    is a subtopic of Constructors2001-10-19 11:36:33.0
    must be defined if you define a constructor with parameters and you create instances using a constructor with no argumentsadded by: JK, source: On To Java, 2001-10-19 11:36:33.0
    Constructorsis a subtopic of Classes and Methods2001-10-19 11:36:33.0
    continuehas purpose to indicate a continue statementadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:33.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:33.0
    is an instance of keyword2001-10-19 11:36:33.0
    continue statementcauses execution to switch immediately to the next iteration of a loopadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:33.0
    has purpose used within loops to jump to another statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:33.0
    is a kind of control flow statementadded by: JK, 2001-10-19 11:36:33.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:33.0
    see also continueadded by: JK, 2001-10-19 11:36:33.0
    control flow statementhas purpose to control the flow of execution of a programadded by: JK, 2001-10-19 11:36:33.0
    is a kind of statementadded by: JK, 2001-10-19 11:36:33.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:33.0
    is a synonym of control statement2001-10-19 11:36:34.0
    control statementis a synonym of control flow statement2001-10-19 11:36:34.0
    core APIhas definition The API included in every full implementation of the Java platform    added by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:34.0
    has part Java beansadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    has part JDBC featuresadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    has part networking featuresadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    has part object serialization featuresadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    has part security featuresadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    has part set of conventions for appletsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    has part the Java basic data typesadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    is a subtopic of How Java Works2001-10-19 11:36:34.0
    is an instance of Java APIadded by: JK, 2001-10-19 11:36:34.0
    is included in every full implementation of the Java platformadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    core classhas definition A public class (or interface) that is a standard member of the Java Platformadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:34.0
    is a kind of classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:34.0
    is a subtopic of How Java Works2001-10-19 11:36:34.0
    creation operatoris a synonym of new operatoradded by: JK, 2001-10-19 11:36:34.0
    current objecthas definition The object whose method is currently being calledadded by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:34.0
    is a kind of objectadded by: DS, 2001-10-19 11:36:34.0
    is a subtopic of Objects2001-10-19 11:36:34.0
    is referred to by the keyword thisadded by: JK, 2001-10-19 11:36:34.0
    data abstractiongroups the pieces of data that describe some entity, so that programmers can manipulate that data as a unitsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:34.0
    has advantages
    • your programs become easier to read
    • your programs become easier to reuse
    • you can easily augment what a class provides
    • you can easily improve the way that data are stored
    added by: JK, source: On To Java, 2001-10-19 11:36:34.0
    helps a programmer to cope with the complexity of datasource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:35.0
    is a kind of abstractionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:35.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:36:35.0
    is facilitated by the use of accessor methodsadded by: JK, source: On To Java, 2001-10-19 11:36:35.0
    data memberis a synonym of instance variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:35.0
    data typeis a synonym of typeadded by: DS, 2001-10-19 11:36:35.0
    datumis a synonym of value2001-10-19 11:36:35.0
    decision making statementhas purpose to make a decision on which branch of code to follow in a programadded by: JK, 2001-10-19 11:36:35.0
    is a kind of control flow statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:35.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:35.0
    is a synonym of conditional statement2001-10-19 11:36:31.0
    declarationhas 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)added by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:35.0
    is a kind of syntactic unitadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:35.0
    is a subtopic of Arrays2001-10-19 11:36:35.0
    is a subtopic of Classes and Methods2001-10-19 11:36:35.0
    is a subtopic of Interfaces2001-10-19 11:36:35.0
    is a subtopic of Objects2001-10-19 11:36:35.0
    is a subtopic of Packages2001-10-19 11:36:35.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:35.0
    is part of definitionadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:35.0
    declaration statementis a synonym of local variable declarationadded by: DS, 2001-10-19 11:36:35.0
    default access of a classhas definition The access mode of a class that is not declared public; access is limited to the package in which the class was declaredadded by: JK, source: Java in a Nutshell, 2001-10-19 11:36:35.0
    is a kind of access modeadded by: JK, 2001-10-19 11:36:36.0
    is a subtopic of Classes2001-10-19 11:36:36.0
    default access of a method or variablehas definition The access mode of methods or variables that do not have an explicit access modifier; access is limited to objects in the same class (and subclasses in the same package), in the same compilation unit, and in the same packageadded by: JK, source: On To Java, 2001-10-19 11:36:36.0
    is a kind of access modeadded by: JK, 2001-10-19 11:36:36.0
    is a subtopic of Access Control2001-10-19 11:36:36.0
    default constructorhas no parametersadded by: JK, source: On To Java, 2001-10-19 11:36:36.0
    has definition A constructor that is automatically provided by the runtime system for any class that contains no explicit constructorsadded by: JK, source: Sun Java Tutorial, modified by: WH, comment: Distinguished explicit constructors from default constructors, reference: Source 2, 2001-10-19 11:36:36.0
    is a kind of constructoradded by: JK, 2001-10-19 11:36:36.0
    is a subtopic of Constructors2001-10-19 11:36:36.0
    default packagehas definition An unnamed package that contains class files whose source files did not contain a package statementadded by: JK, reference: Source 2, 2001-10-19 11:36:36.0
    has purpose storing temporary or small applicationsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:36.0
    is a kind of packageadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:36.0
    is a subtopic of Packages2001-10-19 11:36:36.0
    is defined by all the files in current directoryadded by: Marvin, 2001-10-19 11:36:36.0
    does not have a nameadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:36.0
    definitioncauses a compiler to set aside memory at compile timeadded by: JK, source: On To Java, 2001-10-19 11:36:37.0
    has definition A statement that reserves storage (for data) or provides implementation (for methods).added by: JK, source: Sun Java Tutorial, comment: changed declaration to statement, reference: Glossary, 2001-10-19 11:36:37.0
    has part declarationadded by: JK, 2001-10-19 11:36:37.0
    is a kind of syntactic unitadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:37.0
    is a subtopic of Classes and Methods2001-10-19 11:36:37.0
    is a subtopic of Interfaces2001-10-19 11:36:37.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:37.0
    deprecated methodhas definition A method that has been replaced by a different method in a later version of Java    added by: JK, reference: Source 2, 2001-10-19 11:36:37.0
    is a kind of methodadded by: JK, 2001-10-19 11:36:37.0
    is a subtopic of Methods2001-10-19 11:36:37.0
    descendenthas definition A class A is a descendent of class B if it is lower down in the class hierarchy than class B and class B is an ancestor of itadded by: WH, 2001-10-19 11:36:37.0
    has definition A class that inherits from anotheradded by: WH, reference: T24e Glossary, 2001-10-19 11:36:37.0
    is a kind of classadded by: WH, 2001-10-19 11:36:37.0
    is a subtopic of Inheritance2001-10-19 11:36:37.0
    dialoghas definition A specific window with which a user can interact, but which is not the main UI windowsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:37.0
    is a kind of windowsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:37.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:36:37.0
    is a synonym of dialog box2001-10-19 11:36:37.0
    dialog boxis a synonym of dialogsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:37.0
    do-while loophas example
    int c;
    Reader in;
    . . .
    do {
    c = in.read();
    . . .
    } while (c != -1);
    added by: JK, 2001-10-19 11:36:38.0
    has syntax
    for (entry expression; boolean expression; continuation expression) {
    //statements to keep executing while boolean expression is true
    }
    added by: JK, source: On To Java, 2001-10-19 11:36:38.0
    is a kind of loop statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:38.0
    dot operatoris a synonym of .added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:37.0
    doubleis a kind of floating point valueadded by: DS, 2001-10-19 11:36:38.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:38.0
    see also Double class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:38.0
    stores a double-precision floating-point number    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:38.0
    can use basic arithmetic operators +, -, *, / and %    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:38.0
    Double classhas specification    2001-10-19 11:36:38.0
    is a subtopic of Example Classes2001-10-19 11:36:38.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:38.0
    is an instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:38.0
    see also double    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:38.0
    double^2contains 64 bitsadded by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:36:38.0
    has default value +0.0added by: JK, 2001-10-19 11:36:38.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:38.0
    is an instance of floating point typeadded by: DS, 2001-10-19 11:36:38.0
    can hold a value between 4.9E-324 and 1.7E308added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:38.0
    double^3has purpose to indicate that a variable is of type double2001-10-19 11:36:38.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:38.0
    is an instance of keyword2001-10-19 11:36:38.0
    duplication of codeis a kind of practice2001-10-19 11:36:39.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:36:39.0
    is a synonym of cloning2001-10-19 11:36:27.0
    can be avoided by creating a common superclass if the duplication occurs in two separate classessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    can be avoided by creating a separate method that has the common code, and calling it from the original location and any other needed locationssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    should be avoided because it increases the total volume of code and means that if you change the code in one place, then you might forget to change the code in the other placessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    dynamic bindingapplies to instance methodsadded by: WH, source: T24e Glossary, 2001-10-19 11:36:39.0
    gives power to polymorphismsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    has definition A mechanism by which, when the compiler can't determine which method implementation to use in advance, the runtime system (JVM) selects the appropriate method at runtime, based on the class of the objectadded by: WH, source: T24e Glossary, 2001-10-19 11:36:39.0
    has definition The process of binding a call to a particular method. This is performed dynamically at run-time due to the presence of polymorphismsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    is a kind of bindingadded by: WH, 2001-10-19 11:36:39.0
    is a subtopic of How Java Works2001-10-19 11:36:39.0
    is a synonym of late binding2001-10-19 11:37:15.0
    is a synonym of virtual binding2001-10-19 11:38:15.0
    is needed when the compiler determines that there more than one possible method that could be executed by a particular callsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    else blockis a kind of blocksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:39.0
    is part of if statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    can be omitted if there is nothing to do in the false case    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    encapsulationallows changes to code to be more easily made since one can be confident that 'outsiders' are not relying on too many detailssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    has definition Creating a module to contain some algorithm or data structure, thus hiding its details behind the module's interfacesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    has purpose information hidingadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
    has purpose modularityadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
    has purpose to allow users to view an object as a black box that provides services, because objects encapsulate data and implementation.added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:39.0
    helps to achieve information hidingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:39.0
    is a kind of abstraction mechanismadded by: JT, 2001-10-19 11:36:39.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:36:39.0
    separates the interface from the implementation of methodsadded by: Marvin, 2001-10-19 11:36:40.0
    environmenthas definition The hardware and software configuration of a computeradded by: JK, reference: Source 2, 2001-10-19 11:36:40.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:36:40.0
    is a subtopic of How Java Works2001-10-19 11:36:40.0
    equalshas specification    2001-10-19 11:36:40.0
    has definition A method that compares two objects for equalityadded by: JK, reference: Source 2, 2001-10-19 11:36:40.0
    has example
     boolean b = aPostalCode.equals(anotherPostalCode);    
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:40.0
    has purpose to test whether two objects are equal i.e. they contain the same data, but are not necessarily the same object    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:40.0
    is a subtopic of Example Methods2001-10-19 11:36:40.0
    is an instance of method that is declared in Object classadded by: JK, 2001-10-19 11:36:40.0
    can be overriddenadded by: DS, 2001-10-19 11:36:40.0
    errorhas definition An exception that is exempted from compile-time checking because it can occur at many points in the program and recovery from them is difficult or impossible . A Java program declaring such exceptions would be cluttered, pointlessly.added by: WH, source: Specification, 2001-10-19 11:36:40.0
    is a kind of unchecked exceptionadded by: WH, 2001-10-19 11:36:40.0
    is a subtopic of Exception Handling2001-10-19 11:36:40.0
    escape characteris a subtopic of Literals2001-10-19 11:36:40.0
    is an instance of charadded by: JK, source: On To Java, 2001-10-19 11:36:40.0
    is an instance of character literaladded by: JK, 2001-10-19 11:36:40.0
    is denoted by '\'added by: JK, source: On To Java, 2001-10-19 11:36:40.0
    Example Classesis a subtopic of Classes2001-10-19 11:36:40.0
    Example Interfacesis a subtopic of Interfaces2001-10-19 11:36:40.0
    Example Methodsis a subtopic of Methods2001-10-19 11:36:40.0
    Example Packagesis a subtopic of Packages2001-10-19 11:36:40.0
    exception source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:40.0
    has definition An event that happens during program execution that prevents the program from continuing normally; generally, an erroradded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:40.0
    is a kind of objectsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:41.0
    is a subtopic of Exception Handling2001-10-19 11:36:41.0
    is partitioned into unchecked exception, checked exceptionadded by: WH, 2001-10-19 11:36:41.0
    is thrown when something goes wrong in the execution of a program    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:41.0
    see also Exception class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:41.0
    Exception classhas specification    2001-10-19 11:36:41.0
    is a subtopic of Example Classes2001-10-19 11:36:41.0
    is a subtopic of Exception Handling2001-10-19 11:36:41.0
    is an instance of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:41.0
    see also exception    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:41.0
    Exception Handlingis a subtopic of kbTop2001-10-19 11:36:41.0
    exception statementhas purpose to handle exceptionsadded by: JK, 2001-10-19 11:36:41.0
    is a kind of control flow statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:41.0
    is a subtopic of Exception Handling2001-10-19 11:36:41.0
    exception-handler parameteris a kind of parameteradded by: DS, 2001-10-19 11:36:41.0
    is a subtopic of Exception Handling2001-10-19 11:36:41.0
    executable codehas definition Code that can be executed by a computeradded by: JK, reference: Source 2, 2001-10-19 11:36:41.0
    is a kind of codeadded by: JK, 2001-10-19 11:36:41.0
    is a subtopic of How Java Works2001-10-19 11:36:41.0
    explicit-representation principleis a kind of principle2001-10-19 11:36:41.0
    is a subtopic of Classes2001-10-19 11:36:41.0
    is a subtopic of Programming2001-10-19 11:36:41.0
    states that whenever there is a natural category with which your program needs to work, there should be a class in your program that corresponds to that categoryadded by: JK, source: On To Java, 2001-10-19 11:36:41.0
    expressionhas definition A series of variables, operators and method calls (constructed according to the syntax of the language) that evaluates to a single valueadded by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:42.0
    has purpose
    • to compute values
    • or to assign to a variable
    • or to control the flow of execution
    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:42.0
    has type that is the type of its resultadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:42.0
    has value called its result, or its return valueadded by: DS, modified by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:42.0
    is a kind of syntactic unitadded by: DS, 2001-10-19 11:36:42.0
    is a subtopic of Statements and Expressions2001-10-19 11:36:42.0
    occurs in a context where a value is requiredadded by: DS, 2001-10-19 11:36:42.0
    performs a computation specified by 0 or more operatorsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:42.0
    returns a value from its computationadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:42.0
    can be part of an expressionadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:41.0
    expression statementhas definition An expression followed by a semicolonadded by: JK, reference: Source 2, 2001-10-19 11:36:42.0
    is a kind of statementadded by: DS, 2001-10-19 11:36:42.0
    is a subtopic of Statements and Expressions2001-10-19 11:36:42.0
    extends added by: JK, 2001-10-19 11:36:42.0
    has definition A keyword that indicates a class is a subclass of another class or an interface is a subinterface of another interfaceadded by: DS, source: Sun Java Tutorial, modified by: JK, reference: Source 2, 2001-10-19 11:36:42.0
    has example
    //Create a subclass
    public class MortgageAccount extends Account
    {
    // body of the class
    }
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:42.0
    has purpose to create a subclass    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:42.0
    is a subtopic of Classes2001-10-19 11:36:42.0
    is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:42.0
    falseis a subtopic of Variables and Data Types2001-10-19 11:36:42.0
    is an instance of booleanadded by: JK, 2001-10-19 11:36:42.0
    fieldis a synonym of instance variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:42.0
    is a synonym of member variableadded by: DS, 2001-10-19 11:36:42.0
    filehas definition A block of information in the form of bytes, stored together on a computer or external digital storage medium, and given a nameadded by: JK, source: http://www.currents.net/resources/dictionary/dictionary.phtml, reference: Source 2, 2001-10-19 11:36:42.0
    is the smallest unit of source code that can be compiledadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:43.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:36:43.0
    FileInputStreamhas specification    2001-10-19 11:36:43.0
    has example of creation
    FileInputStream stream = new FileInputStrem(inputFileNameOrPath);
    added by: JK, source: On To Java, 2001-10-19 11:36:43.0
    is a subtopic of Example Classes2001-10-19 11:36:43.0
    is a subtopic of Input and Output2001-10-19 11:36:43.0
    is an instance of class2001-10-19 11:36:43.0
    is an instance of streamadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    is used to read bytes from a fileadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    permits reading 1 byte at a timeadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    FileOutputStreamhas specification    2001-10-19 11:36:43.0
    has example of creation
    FileOutputStream stream = new FileOutputStrem(outputFileNameOrPath);
    2001-10-19 11:36:43.0
    is a subtopic of Example Classes2001-10-19 11:36:43.0
    is a subtopic of Input and Output2001-10-19 11:36:43.0
    is an instance of streamadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    is used to write bytes to a fileadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    permits writing 1 byte at a timeadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    finalhas purpose to indicate that a class or method is finaladded by: JK, 2001-10-19 11:36:43.0
    is a subtopic of Classes2001-10-19 11:36:43.0
    is a subtopic of Methods2001-10-19 11:36:43.0
    is an instance of keywordadded by: DS, 2001-10-19 11:36:43.0
    modifies classes, methods or variablesadded by: JK, source: Java in a Nutshell, 2001-10-19 11:36:43.0
    final classhas definition A class that cannot have subclassesadded by: JK, reference: Source 2, 2001-10-19 11:36:44.0
    has purpose to increase system security by preventing system subversionadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:44.0
    is a kind of classadded by: JK, 2001-10-19 11:36:44.0
    is a subtopic of Classes2001-10-19 11:36:44.0
    cannot be abstractadded by: JK, source: On To Java, 2001-10-19 11:36:43.0
    cannot have a subclass or the compiler will display an error messageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:44.0
    to specify you use the keyword final before the keyword class in the class declarationadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:44.0
    final methodhas definition A method that cannot be hidden or overridden    added by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:44.0
    has purpose to increase efficiency by eliminating dynamic method lookup    added by: JT, 2001-10-19 11:36:44.0
    is a kind of methodadded by: JK, 2001-10-19 11:36:44.0
    is a subtopic of Methods2001-10-19 11:36:44.0
    cannot be overridden by any methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:44.0
    final variableis a synonym of constantadded by: JK, 2001-10-19 11:36:44.0
    finalizeis a subtopic of Garbage Collection2001-10-19 11:36:44.0
    is an instance of method that is declared in Object classadded by: JK, 2001-10-19 11:36:44.0
    see also finalize methodadded by: JK, 2001-10-19 11:36:44.0
    finalize methodcleans up an object before the object is garbage collectedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:44.0
    has definition A method that is invoked before an object is discarded by the garbage collector, allowing it to clean up its state    added by: JK, reference: Source 2, 2001-10-19 11:36:44.0
    has purpose to clean up an object before the object is garbage collectedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:44.0
    is a kind of methodadded by: JK, 2001-10-19 11:36:44.0
    is a subtopic of Garbage Collection2001-10-19 11:36:44.0
    see also finalizeadded by: JK, 2001-10-19 11:36:44.0
    finallyhas purpose to indicate the finally block of a try-catch-finally statementadded by: JK, 2001-10-19 11:36:44.0
    is a subtopic of Exception Handling2001-10-19 11:36:45.0
    is an instance of keywordadded by: JK, 2001-10-19 11:36:45.0
    finally blockhas purpose to clean up internal state or to release non-object resources, such as open files stored in local variables, whether or not an exception has occurred.added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:45.0
    has syntax
    // a try-catch-finally statement showing the finally block in bold
    try{
    statements
    } catch (exception_type1 identifier1) {
    statements
    } catch (exception_type2 identifier2) {
    statements
    ...
    } finally {
    statements
    }
    added by: JK, 2001-10-19 11:36:45.0
    is a kind of nested blockadded by: JK, 2001-10-19 11:36:45.0
    is a subtopic of Exception Handling2001-10-19 11:36:45.0
    is part of try-catch-finally statementadded by: JK, 2001-10-19 11:36:45.0
    floatis a kind of floating point valueadded by: DS, 2001-10-19 11:36:45.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:45.0
    see also Float class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:45.0
    see also float^2added by: JK, 2001-10-19 11:36:45.0
    see also float^3added by: JK, 2001-10-19 11:36:45.0
    Float classhas specification    2001-10-19 11:36:45.0
    is a subtopic of Example Classes2001-10-19 11:36:45.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:45.0
    is an instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:45.0
    see also floatsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:45.0
    float literalhas example 3.1415927Fadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:45.0
    has example of exponents
    • 12e22
    • 19E-95
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:45.0
    is a kind of floating point literal2001-10-19 11:36:46.0
    is a subtopic of Literals2001-10-19 11:36:45.0
    is indicated by appending the letter F L (in upper or lower case) to the literaladded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:46.0
    can use exponentsadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:45.0
    float^2contains 32 bitsadded by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:36:46.0
    has default value +0.0fadded by: JK, 2001-10-19 11:36:46.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:46.0
    is an instance of floating point typeadded by: DS, 2001-10-19 11:36:46.0
    see also floatadded by: JK, 2001-10-19 11:36:46.0
    see also Float classadded by: JK, 2001-10-19 11:36:46.0
    see also float^3added by: JK, 2001-10-19 11:36:46.0
    stores a floating point numbersource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:46.0
    can hold a value between 1.4E-45 and 3.4E+38added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:46.0
    can use basic arithmetic operators +, -, *, / and %source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:46.0
    float^3has purpose to indicate that a variable is of type float2001-10-19 11:36:46.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:46.0
    is an instance of keyword2001-10-19 11:36:46.0
    see also floatadded by: JK, 2001-10-19 11:36:46.0
    see also Float classadded by: JK, 2001-10-19 11:36:46.0
    see also float^2added by: JK, 2001-10-19 11:36:46.0
    floating point literalis a kind of numeric literal2001-10-19 11:36:46.0
    is a subtopic of Literals2001-10-19 11:36:46.0
    is considered to be a double automatically2001-10-19 11:36:46.0
    floating point typehas a sign indicating positive or negativeadded by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:36:46.0
    is a kind of primitive typeadded by: JK, 2001-10-19 11:36:46.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:46.0
    floating point valueis a kind of primitive valueadded by: DS, 2001-10-19 11:36:47.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:47.0
    can be compared to an integer without castingadded by: JK, source: On To Java, 2001-10-19 11:36:47.0
    for loophas advantage all the information about controlling the loop is kept in one place    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    has disadvantage it can be slightly harder to read the code of a for loop than a while loop    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    has example
    a is an array of some kind 
    . . .
    int i;
    int length = a.length;
    for (i = 0; i < length; i++) {
    . . .
    // do something to the i th element of a
    . . .
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:47.0
    has part incrementor    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    has part initializer    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    has syntax
    for(initializer; condition; incrementer)
    {
    // statements to keep executing while condition is true
    }   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    is a kind of loop statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:47.0
    is a kind of loop statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:47.0
    can be interchanged with a while loop    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:47.0
    formal parameteris a synonym of parameteradded by: DS, 2001-10-19 11:36:47.0
    fully qualified class namecontains package nameadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:47.0
    has example
    java.lang.String 
    added byL JK -source: Java in a Nutshell, 2001-10-19 11:36:47.0
    is a kind of class nameadded by: JK, 2001-10-19 11:36:48.0
    is a kind of fully qualified nameadded by: JK, 2001-10-19 11:36:48.0
    is a subtopic of Packages2001-10-19 11:36:48.0
    fully qualified interface nameis a kind of fully qualified nameadded by: JK, 2001-10-19 11:36:48.0
    is a subtopic of Interfaces2001-10-19 11:36:48.0
    fully qualified method namehas example
     java.lang.String.substring 
    2001-10-19 11:36:48.0
    has syntax
    packageName.className.methodName
    added by: JK, source: Java in a Nutshell, 2001-10-19 11:36:48.0
    is a kind of fully qualified nameadded by: JK, 2001-10-19 11:36:48.0
    is a kind of method nameadded by: JK, 2001-10-19 11:36:48.0
    is a subtopic of Methods2001-10-19 11:36:48.0
    is a subtopic of Packages2001-10-19 11:36:48.0
    fully qualified name added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:48.0
    has definition A name that is unambiguousreference: Source 2, 2001-10-19 11:36:48.0
    is a kind of nameadded by: JK, 2001-10-19 11:36:48.0
    is a subtopic of Packages2001-10-19 11:36:48.0
    is a synonym of long name2001-10-19 11:37:18.0
    see also simple nameadded by: JK, 2001-10-19 11:36:48.0
    can be used to disambiguate two members of different packages with the same nameadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:48.0
    fully qualified name of a member of a packageis a kind of fully qualified nameadded by: JK, 2001-10-19 11:36:48.0
    is a subtopic of Packages2001-10-19 11:36:48.0
    is the same as the pathname to the file containing the member of a packageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:48.0
    fully qualified variable nameis a kind of fully qualified nameadded by: JK, 2001-10-19 11:36:49.0
    is a kind of variable nameadded by: JK, 2001-10-19 11:36:49.0
    is a subtopic of Packages2001-10-19 11:36:48.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:48.0
    functionis a synonym of method2001-10-19 11:36:49.0
    garbage collection added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:49.0
    has definition A mechanism which checks for objects that are no longer reachable from any executable code and reclaims the space used by themadded by: JK, reference: Source 2, 2001-10-19 11:36:49.0
    is a kind of mechanismadded by: JK, 2001-10-19 11:36:49.0
    is a subtopic of Garbage Collection2001-10-19 11:36:49.0
    Garbage Collectionis a subtopic of kbTop2001-10-19 11:36:49.0
    garbage collectionis performed by Java automaticallyadded by: JK, 2001-10-19 11:36:49.0
    takes care of memory management automaticallyadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:49.0
    can be suggested by the programmeradded by: Marvin, 2001-10-19 11:36:49.0
    cannot be forced by the programmeradded by: Marvin, 2001-10-19 11:36:49.0
    get methodhas definition A method that returns the value of an instance variableadded by: JK, source: On To Java, 2001-10-19 11:36:49.0
    has definition A method which returns the state of an objectcomment: applies to the state of a class too?, added by: WH, source: T24e Glossary, 2001-10-19 11:36:49.0
    is a kind of accessor methodadded by: WH, 2001-10-19 11:36:49.0
    is a subtopic of Methods2001-10-19 11:36:49.0
    is a synonym of getter2001-10-19 11:36:50.0
    is named using "get" in its name by conventionadded by: JK, source: On To Java, 2001-10-19 11:36:49.0
    get method namecontains the word "get" by conventionadded by: JK, source: On To Java, 2001-10-19 11:36:49.0
    has example getHoursadded by: JK, source: On To Java, 2001-10-19 11:36:49.0
    is a kind of method name2001-10-19 11:36:49.0
    is a subtopic of Methods2001-10-19 11:36:49.0
    getClasshas specification    2001-10-19 11:36:49.0
    has example //Returns the name of the class of the object called key
    String name = key.getClass().getName();
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:49.0
    is a subtopic of Example Methods2001-10-19 11:36:49.0
    is an instance of final methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:49.0
    is an instance of method that is declared in Object class2001-10-19 11:36:50.0
    returns a runtime representation of the class of the objectadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:50.0
    getteris a synonym of get methodadded by: WH, 2001-10-19 11:36:50.0
    graphical user interfacehas definition An interface that uses graphics, along with a keyboard and a mouse, to provide an easy-to-use interface for users to interact with a programadded by: JK, 2001-10-19 11:36:50.0
    is a kind of user interfaceadded by: JK, 2001-10-19 11:36:50.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:36:50.0
    is abbreviated as GUIadded by: WH, 2001-10-19 11:36:50.0
    Graphical User Interfacesis a subtopic of kbTop2001-10-19 11:36:50.0
    GUIis a subtopic of Graphical User Interfaces2001-10-19 11:36:50.0
    is an abbreviation for graphical user interfaceadded by: JK, 2001-10-19 11:36:50.0
    is an instance of abbreviationadded by: JK, 2001-10-19 11:36:50.0
    GUI event objecthas definition A common object used in GUI window systems to represent the action of a user pressing a mouse button or a key on the keyboardadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:50.0
    is a kind of objectadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:50.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:36:50.0
    represents an action of the useradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:50.0
    handleis a synonym of object referenceadded by: DS, modified by: WH, 2001-10-19 11:36:50.0
    headeris a synonym of method signatureadded by: DS, 2001-10-19 11:36:50.0
    hexadecimal integer literalhas example
    • 0x12 is the hexadecimal number 12
    • 0xFF is the hexadecimal number FF
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:50.0
    is a kind of integer literal2001-10-19 11:36:51.0
    is a subtopic of Literals2001-10-19 11:36:50.0
    is indicated by prepending 0x (zero and x) to the numberadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:50.0
    hidingis a synonym of method overridingadded by: JK, 2001-10-19 11:36:51.0
    hierarchyhas definition An organized tree-like structure of subjectsadded by: JK, reference: Source 2, 2001-10-19 11:36:51.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:36:51.0
    is a subtopic of Inheritance2001-10-19 11:36:51.0
    HotJava browseris a subtopic of Applets2001-10-19 11:36:51.0
    is an instance of Java-compatible Web browseradded by: JK, 2001-10-19 11:36:51.0
    HotSpothas documentation at Sun    2001-10-19 11:36:51.0
    has definition An add-on performance module for the JavaTM 2 SDKsource: Sun, added by: JK, 2001-10-19 11:36:51.0
    has features source: Sun, added by: JK, 2001-10-19 11:36:51.0
    is a subtopic of How Java Works2001-10-19 11:36:51.0
    is an instance of Java Virtual Machineadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:51.0
    is available from Sun    2001-10-19 11:36:51.0
    runs Java programs more quicklyadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:51.0
    How Java Worksis a subtopic of kbTop2001-10-19 11:36:51.0
    HTML Converterhas documentation at Sun    2001-10-19 11:36:51.0
    has definition An application that converts and existing web page so that all its applets are run by the Java Plug-inadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:51.0
    is a subtopic of Applets2001-10-19 11:36:51.0
    is an instance of application2001-10-19 11:36:51.0
    can be downloaded from Sun    2001-10-19 11:36:51.0
    HTML taghas definition A code in an HTML document that may serve various functions such as controlling the styling of text and placement of graphic elements and providing links to interactive programs and scripts.added by: JK, reference: Source 2, 2001-10-19 11:36:51.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:36:52.0
    is a subtopic of Applets2001-10-19 11:36:51.0
    IBM Java tutorialshas URL http://www.ibm.com/java/education/intro/courseoptions.htm    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    is a subtopic of References2001-10-19 11:36:52.0
    is an instance of web sitesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    IBM VisualAge for Javahas URL http://www.ibm.com/visualage/vajava/    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    is a subtopic of Java Tools2001-10-19 11:36:52.0
    is an instance of programming environment    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    stores source code in a repository    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    identityhas definition Unlike primitive values, objects possess a unique identity that makes them distinguishable from one another, even when they are in the same state ; e.g. Two strings, s1="x" and s2=new String(s1), are equal but have different identity, so s1.equals(s2) is true but s1==s2 is false.added by: WH, source: T24e Glossary, 2001-10-19 11:36:52.0
    is a kind of kbTopadded by: WH, 2001-10-19 11:36:52.0
    is a subtopic of Objects2001-10-19 11:36:52.0
    identity comparison operatoris a kind of operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    is a subtopic of Operators2001-10-19 11:36:52.0
    if statementhas part boolean expressionadded by: JK, source: On To Java, 2001-10-19 11:36:52.0
    has syntax
    if  (boolean expression) {
    embedded statement(s)
    }
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    is a kind of decision making statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:52.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:52.0
    can omit braces if there is only one embedded statementadded by: JK, source: On To Java, 2001-10-19 11:36:52.0
    if-else statementhas example
    int testscore; 
    char grade;
    if (testscore <= 90) {
    grade = 'A';
    } else if (testscore <= 80) {
    grade = 'B';
    } else {
    grade = 'C';
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    has part else blockadded by: JK, source: On To Java, 2001-10-19 11:36:52.0
    has syntax
    if (boolean expression) {
    if-true statement
    else
    if-false statement
    }
    added by: JK, source: On To Java, 2001-10-19 11:36:53.0
    is a kind of decision making statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:53.0
    can omit braces if there is only one embedded statementadded by: JK, source: On To Java, 2001-10-19 11:36:52.0
    implementshas definition A keyword that declares that your class implements one or more interfacesadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:53.0
    has syntax
    className implements Interface1 (,Interface2, Interface3 ...)
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    is a subtopic of Interfaces2001-10-19 11:36:53.0
    is an instance of keywordadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    is used by implements clause in a class that indicates that the class contains methods for each of the operations specified by the interface    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:53.0
    implements clausehas example
    public class AnimatedSign extends javax.swing.JApplet
    implements Runnable {
    //...
    }
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:53.0
    has purpose to indicate that a class implements an interfaceadded by: JK, 2001-10-19 11:36:53.0
    has syntax
    className implements Interface1 (,Interface2, Interface3 ...)
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    indicates that a class contains methods for each of the operations specified by the interface    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:53.0
    is a kind of clausesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:53.0
    is a subtopic of Interfaces2001-10-19 11:36:53.0
    importhas purpose to indicate an import statementadded by: JK, 2001-10-19 11:36:53.0
    is a subtopic of Packages2001-10-19 11:36:53.0
    is an instance of keyword2001-10-19 11:36:53.0
    import declarationis a synonym of import statement2001-10-19 11:36:53.0
    import statementhas definition A statement that permits using references to other packages without prefixesadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:36:53.0
    has example
    //Import the Circle class from the graphics package
    import graphics.Circle;

    //Import the entire graphics package
    import graphics.*;
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    has purpose to allow a class to use the facilities of another package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:53.0
    has syntax
    import packageName.*
    OR
    import packageName.className
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:53.0
    imports 1 member class of a package or imports on demand 0 or more member classes from a packageadded by: JK, source: Sun Java Tutorial, modified by: WH, comment: a class is imported on demand if its short name is used and no other class with the same short name is imported explicitly, 2001-10-19 11:36:54.0
    is a kind of declarationadded by: DS, 2001-10-19 11:36:54.0
    is a kind of statement    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:54.0
    is a subtopic of Packages2001-10-19 11:36:54.0
    is a synonym of import declaration2001-10-19 11:36:53.0
    is located added by: Marvin, modified by: JK, 2001-10-19 11:36:54.0
    incrementorhas purpose to update a variable set in an initializer    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:54.0
    is a kind of statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:54.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:54.0
    is part of loop    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:54.0
    information hidinghas definition Hiding details so as to reduce complexitysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:54.0
    has purpose added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:54.0
    is a kind of mechanismadded by: JK, 2001-10-19 11:36:54.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:36:54.0
    inheritancehas advantages
    • it parallels natural categories
    • it prevents avoidable duplication and simplifies maintenance
    • it avoids introducing bugs into previously debugged code
    added by: JK, source: On To Java, 2001-10-19 11:36:54.0
    has definition A mechanism that enables one class to inherit all the behaviour and attributes of another classadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:54.0
    has definition The acquisition of data (variables) and behaviour (methods) from a parent (superclass) in a hierarchyadded by: WH, source: T24e Glossary, 2001-10-19 11:36:54.0
    has definition The possession by one class of elements defined in another class, by virtue of the fact that the former class is defined to be a subclass of (to extend) the latter    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:54.0
    has purpose code reuseadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:54.0
    is a kind of mechanismadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:54.0
    is a subtopic of Inheritance2001-10-19 11:36:54.0
    Inheritanceis a subtopic of kbTop2001-10-19 11:36:54.0
    inheritanceoccurs automatically once you have defined which classes are superclasses and which classes are their subclasses    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:55.0
    initialization blockhas purpose to be executed before any method for a class or instanceadded by: DS, 2001-10-19 11:36:55.0
    is a kind of nested blockadded by: DS, 2001-10-19 11:36:55.0
    is a subtopic of Classes2001-10-19 11:36:55.0
    initializerhas purpose to set up an initial condition for a loop, often initializing a variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:55.0
    is a kind of statement    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:55.0
    is a subtopic of Loops and Decision Making2001-10-19 11:36:55.0
    is part of loop    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:55.0
    inner classhas access level private or protectedadded by: Marvin, modified by: Judy, 2001-10-19 11:36:55.0
    has definition A nested class whose instance exists within an instance of its enclosing class and has direct access to the instance members of its enclosing instancesource: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:36:55.0
    is a kind of memberadded by: JK, 2001-10-19 11:36:55.0
    is a kind of nested classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:55.0
    is a subtopic of Classes2001-10-19 11:36:55.0
    may be static or notadded by: Marvin, 2001-10-19 11:36:55.0
    may have access modifier private or protectedadded by: Marvin, modified by: Judy, 2001-10-19 11:36:55.0
    Input and Outputis a subtopic of Java Basics2001-10-19 11:36:55.0
    input fieldis a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:55.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:36:55.0
    instanceis a single member of the set defined by a classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:55.0
    is a synonym of object    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:55.0
    instance initialization blockis a kind of initialization blockadded by: DS, 2001-10-19 11:36:55.0
    is a subtopic of Classes2001-10-19 11:36:55.0
    instance memberis a kind of member2001-10-19 11:36:55.0
    is a subtopic of Members2001-10-19 11:36:55.0
    is partitioned into instance method, instance variableadded by: DS, 2001-10-19 11:36:55.0
    instance methodhas access to every class variable of its classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:56.0
    has definition A method that executes in the context of a particular object; it has access to the instance variables of the given object, and can refer to the object itself using the 'this' keyword    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    has definition Any method that is invoked with respect to an instance of a classadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:56.0
    has example
    public float credit(float amountToCredit) {
    balance = balance + amountToCredit;
    return balance;
    }   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    implements the behaviour of the objects in the classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:56.0
    is a kind of instance memberadded by: JK, 2001-10-19 11:36:56.0
    is a kind of methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:56.0
    is a subtopic of Methods2001-10-19 11:36:56.0
    is part of a classadded by: JK, 2001-10-19 11:36:56.0
    instance method callhas example
    aVariable = b.methodName(arguments);
    where b is the object containing instance method methodName   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    is a kind of method call2001-10-19 11:36:56.0
    is a subtopic of Methods2001-10-19 11:36:56.0
    instance methodcan operate on the current object's instance variablessource: Sun Java Tutorial, 2001-10-19 11:36:56.0
    can refer to the object itself using the 'this' keywordsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    may be declared public, protected or private    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    should be placed in a class such that there is no needless duplication of it, and such that it is useful in all the subclasses of the class in which it is definedadded by: JK, source: On To Java, 2001-10-19 11:36:56.0
    instance of wrapper classcontains an instance variable of the corresponding primitive data type    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    is a kind of objectsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    is a subtopic of Objects2001-10-19 11:36:56.0
    see also wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    uses methods instead of ordinary arithmetic or logical operators    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    cannot use ordinary arithmetic or logical operators    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    instance variablehas definition A data item present in all the instances of a class, normally used to implement associations and attributessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    has definition Any item of data that is associated with a particular object.added by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:56.0
    implements an attribute or an association    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:56.0
    is a kind of instance memberadded by: JK, 2001-10-19 11:36:57.0
    is a kind of member variableadded by: JK, 2001-10-19 11:36:57.0
    is a subtopic of Members2001-10-19 11:36:57.0
    is a synonym of data member2001-10-19 11:36:35.0
    is a synonym of field2001-10-19 11:36:42.0
    is a synonym of object variable2001-10-19 11:37:34.0
    is defined by an instance variable definitionadded by: JK, 2001-10-19 11:36:57.0
    is part of an objectadded by: JK, 2001-10-19 11:36:57.0
    maintains part of its object's stateadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:57.0
    refers to an object or a primitiveadded by: DS, 2001-10-19 11:36:57.0
    can be inheritedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:56.0
    can be accessed by all methods of its classadded by: DS, 2001-10-19 11:36:56.0
    can be made private to prevent direct access to instance variable - accessor methods should be used instead to protect data abstractionadded by: JK, source: On To Java, 2001-10-19 11:36:56.0
    instance variable definitionhas example
     public int script, acting, directing 
    added by: JK, source: On To Java, 2001-10-19 11:36:57.0
    has purpose to define an instance variable2001-10-19 11:36:57.0
    is a kind of variable definitionadded by: JK, 2001-10-19 11:36:57.0
    is a subtopic of Members2001-10-19 11:36:57.0
    does not contain the keyword staticadded by: JK, source: On To Java, 2001-10-19 11:36:57.0
    instance variableshould be as private as reasonably possible - almost never make an instance variable public    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:57.0
    should be placed in a class such that there is no needless duplication of it, and such that it is useful in all the subclasses of the class in which it is definedadded by: JK, source: On To Java, 2001-10-19 11:36:57.0
    to refer you join the name of the variable with a dot to the instance variable name.
    Example:
    variableName.instanceVariableName
    added by: JK, source: On To Java, 2001-10-19 11:36:57.0
    instanceof operatorhas example sylvester instanceOf Dog //returns false
    fido instanceof Dog //returns true
    added by: JK, 2001-10-19 11:36:57.0
    has purpose to return true if the instance is either a direct instance of the given class or of a subclass of that classadded by: JK, source: On To Java, 2001-10-19 11:36:57.0
    is a kind of binary operatoradded by: JK, source: On To Java, 2001-10-19 11:36:58.0
    is a subtopic of Operators2001-10-19 11:36:58.0
    instantiationhas definition The process of creating a new instance of a classadded by: WH, source: T24e Glossary, 2001-10-19 11:36:58.0
    is a kind of processadded by: JK, 2001-10-19 11:36:58.0
    is a subtopic of Objects2001-10-19 11:36:58.0
    intis a kind of integeradded by: DS, 2001-10-19 11:36:58.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:58.0
    see also int^2added by: JK, 2001-10-19 11:36:58.0
    see also int^3added by: JK, 2001-10-19 11:36:58.0
    see also Integer class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:58.0
    int^2is a subtopic of Variables and Data Types2001-10-19 11:36:58.0
    is an instance of integer^2added by: DS, 2001-10-19 11:36:58.0
    requires 32 bits    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:58.0
    see also intadded by: JK, 2001-10-19 11:36:58.0
    see also int^3added by: JK, 2001-10-19 11:36:58.0
    see also Integer classadded by: JK, 2001-10-19 11:36:58.0
    can hold a value between -2,147,483,648 and 2,147,483,647added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:36:58.0
    can use basic arithmetic operators +, -, *, / and %    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:58.0
    int^3has purpose to indicate that a variable is of type int2001-10-19 11:36:58.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:58.0
    is an instance of keywordadded by: DS, 2001-10-19 11:36:58.0
    see also intadded by: JK, 2001-10-19 11:36:58.0
    see also int^3added by: JK, 2001-10-19 11:36:58.0
    see also Integer classadded by: JK, 2001-10-19 11:36:58.0
    integerhas arithmetic operations +, -, *, /, %, &, ~, <<, <<<, >>, >>>, bitwise or, bitwise exclusive or, ++, --added by: JT, source: Sun Java Tutorial, 2001-10-19 11:36:58.0
    is a kind of integral valueadded by: DS, 2001-10-19 11:36:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:59.0
    can be compared to a floating point value without castingadded by: JK, source: On To Java, 2001-10-19 11:36:58.0
    Integer classhas specification    2001-10-19 11:36:59.0
    has method parseInt, toHexStringsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:59.0
    is a subtopic of Example Classes2001-10-19 11:36:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:59.0
    is an instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:59.0
    see also intsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:59.0
    integer literalis a kind of numeric literal2001-10-19 11:36:59.0
    is a subtopic of Literals2001-10-19 11:36:59.0
    integer^2has a sign indicating positive or negativeadded by: JK, source: On To Java, 2001-10-19 11:36:59.0
    has default value 02001-10-19 11:36:59.0
    is a kind of integral typeadded by: DS, 2001-10-19 11:36:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:59.0
    integral typeis a kind of primitive typeadded by: DS, 2001-10-19 11:36:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:59.0
    integral valueis a kind of primitive valueadded by: DS, 2001-10-19 11:36:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:36:59.0
    interfacedefines a set of methodssource: Sun Java Tutorial, 2001-10-19 11:36:59.0
    has 1 fully qualified name that includes its package nameadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:59.0
    has 1 simple name that does not include its package nameadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    has definition A named collection of method declarations (without implementations), may also include constant declarations (variables marked static and final)source: Sun Java Tutorial, modified by: Judy, reference: Tutorial, 2001-10-19 11:36:59.0
    has definition In Java, a software module containing a description of a set of operations that certain classes must implement    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:59.0
    has example
    public interface Drawable
    {
    public abstract Image drawImage();
    public abstract Image drawImage(int height, int width);
    public abstract Image drawBlackAndWhiteImage(int height, int width);
    }
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:00.0
    has part interface definitionadded by: JK, 2001-10-19 11:37:00.0
    has purpose    source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    has syntax
    public interface InterfaceName extends SuperInterfaces
    {
    InterfaceBody
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    inherits all constants and methods from its superinterfaces    source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    is abstract by definition - the modifier is optional in the declarationadded by: JK, source: Java in a Nutshell, 2001-10-19 11:37:00.0
    is like a class except that it does not have any executable statements - it only contains abstract methods and class variables    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:00.0
    is a kind of access unitadded by: DS, 2001-10-19 11:37:00.0
    is a kind of specificationadded by: DS, 2001-10-19 11:37:00.0
    is a member of the default package unless its source file contains a package statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    is a subtopic of Interfaces2001-10-19 11:37:00.0
    is a synonym of abstract data type2001-10-19 11:35:57.0
    is compiled by the Java compiler into a .class fileadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:00.0
    is implemented by 1 or more classsource: Sun Java Tutorial, 2001-10-19 11:37:00.0
    is only accessible to classes that are defined in the same package unless the interface is public    source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    provides many of the same benefits as multiple inheritance    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:00.0
    interface bodyhas definition One of two parts of an interface definition (the other part is the interface declaration)added by: JK, reference: Source 2, 2001-10-19 11:37:00.0
    has part constant declarations and method declarationssource: Sun Java Tutorial, 2001-10-19 11:37:00.0
    has purpose to specify the constant declarations and method declarations of an interfaceadded by: JK, 2001-10-19 11:37:00.0
    is a kind of bodyadded by: JK, 2001-10-19 11:37:00.0
    is a subtopic of Interfaces2001-10-19 11:37:00.0
    is part of 1 interface definitionsource: Sun Java Tutorial, 2001-10-19 11:37:00.0
    interfacecan contain abstract methodsadded by: JK, source: The Java Programming Language, 2001-10-19 11:36:59.0
    can extend 1 or more interfaces    source: Sun Java Tutorial, 2001-10-19 11:36:59.0
    cannot have any concrete methods or instance variables    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:59.0
    interface declarationdeclares source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    has example
    public class AnimatedSign extends javax.swing.JApplet
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:00.0
    has purpose to declare an interface2001-10-19 11:37:00.0
    has syntax
    public interface interfaceName extends superInterfaces 
    added by: JK, 2001-10-19 11:37:00.0
    is a kind of declarationadded by: JK, 2001-10-19 11:37:01.0
    is a subtopic of Interfaces2001-10-19 11:37:00.0
    is part of 1 interface definitionsource: Sun Java Tutorial, 2001-10-19 11:37:00.0
    interface definitionhas example
    public interface Drawable
    {
    public abstract Image drawImage();
    public abstract Image drawImage(int height, int width);
    public abstract Image drawBlackAndWhiteImage(int height, int width);
    }
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:01.0
    has part interface declaration, interface bodysource: Sun Java Tutorial, 2001-10-19 11:37:01.0
    has purpose to define an interface2001-10-19 11:37:01.0
    has syntax
    public interface InterfaceName extends SuperInterfaces
    {
    InterfaceBody
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:01.0
    is a kind of definitionadded by: JK, 2001-10-19 11:37:01.0
    is a subtopic of Interfaces2001-10-19 11:37:01.0
    interface hierarchyhas definition A hierarchy of interfacesadded by: JK, reference: Source 2, 2001-10-19 11:37:01.0
    is a kind of hierarchyadded by: JK, 2001-10-19 11:37:01.0
    is a subtopic of Inheritance2001-10-19 11:37:01.0
    is a subtopic of Interfaces2001-10-19 11:37:01.0
    is not the same as class hierarchysource: Sun Java Tutorial, 2001-10-19 11:37:01.0
    interfacemay have 1 or more superinterfacessource: Sun Java Tutorial, 2001-10-19 11:37:00.0
    may have access modifier public, or noneadded by: JK, source: Java in a Nutshell, 2001-10-19 11:37:00.0
    should be a member of 1 named packageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:00.0
    interface typeis a kind of reference type2001-10-19 11:37:01.0
    is a subtopic of Interfaces2001-10-19 11:37:01.0
    interface^2has definition A Java language keyword used to define a collection of method definitions and constant valuesadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:01.0
    has purpose to indicate an interface definitionadded by: JK, 2001-10-19 11:37:01.0
    is a subtopic of Interfaces2001-10-19 11:37:01.0
    is an instance of keywordadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:01.0
    see also interface2001-10-19 11:37:01.0
    Interfacesis a subtopic of kbTop2001-10-19 11:37:01.0
    invocationhas definition The process of calling a method , i.e., executing its body, passing arguments to be associated with the method's formal parameters.added by: WH, source: T24e Glossary, modified by: JK, 2001-10-19 11:37:01.0
    is a kind of processadded by: JK, 2001-10-19 11:37:01.0
    is a subtopic of Methods2001-10-19 11:37:01.0
    is-a versus has-a principleis a kind of principle2001-10-19 11:37:02.0
    is a subtopic of Classes2001-10-19 11:37:02.0
    is a subtopic of Inheritance2001-10-19 11:37:02.0
    states that if you find yourself using the phrase "an X is a Y" when describing the relation between two classes, then the first class is a subclass of the second; if you find yourself using "X has a Y", then instance of the second class appear as parts of instances of the first classadded by: JK, source: On To Java, 2001-10-19 11:37:02.0
    isa ruleis a subtopic of Classes2001-10-19 11:37:02.0
    is a subtopic of Inheritance2001-10-19 11:37:02.0
    is an instance of rulesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    states that class A can only be a valid subclass of class B if it makes sense, in English, to say, "an A is a B"source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    isDigithas specification    2001-10-19 11:37:02.0
    has example
    // tests if a Character is a digit 
    boolean b = Character.isDigit(aChar);   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    has purpose to test if a Character is a digit    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    is a member of the wrapper class Character classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    is a subtopic of Example Methods2001-10-19 11:37:02.0
    is an instance of class methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    Iteratorhas example
    //counts the number of empty strings in a collection of strings
    emptyCount = 0;
    Iterator i = aCollection.iterator();
    while(i.hasNext())
    {
    if(((String)i.next()).length()==0)
    emptyCount++;
    }
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    has remove method that allows you to selectively delete elements of the underlying collection    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    is a subtopic of Example Interfaces2001-10-19 11:37:02.0
    is an instance of interfacesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:02.0
    JAppletenables class to use Swing componentsadded by: JK, source: Java Tutorial, 2001-10-19 11:37:02.0
    has specification    2001-10-19 11:37:02.0
    is a subclass of Applet classadded by: JK, source: Java Tutorial, 2001-10-19 11:37:02.0
    is a subtopic of Applets2001-10-19 11:37:02.0
    is a subtopic of Example Classes2001-10-19 11:37:02.0
    is an instance of class2001-10-19 11:37:02.0
    is part of Java 2added by: JK, source: Java Tutorial, 2001-10-19 11:37:02.0
    jarhas documentation at Sun    2001-10-19 11:37:03.0
    has definition A tool included in the SDK that can pack files into Java Archive files as well as unpack themadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:02.0
    is a subtopic of How Java Works2001-10-19 11:37:03.0
    is a synonym of Java Archive Tool2001-10-19 11:37:06.0
    is an instance of Java development tooladded by: JK, 2001-10-19 11:37:03.0
    jar fileis a subtopic of How Java Works2001-10-19 11:37:03.0
    is an abbreviation for Java Archive fileadded by: JK, 2001-10-19 11:37:03.0
    is an instance of abbreviationadded by: JK, 2001-10-19 11:37:03.0
    Javaadopted many ideas from Smalltalk    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    contains extensive on-line documentation about each class and method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    has much the same syntax as C    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    has definition An object-oriented programming language developed by Sun Microsystemsadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:03.0
    has feature single inheritance    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    has feature very easy-to-program networking capabilities    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    has order of operator precedence    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    is
    • case sensitive
    • distributed
    • dynamic
    • high-performance
    • interpreted
    • multithreaded
    • object-oriented
    • portable
    • robust
    • secure
    • simple
    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:03.0
    is architecture-neutraladded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:03.0
    is easier to program than C++    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    is less efficient than C and C++ because it contains safety because it contains safety checks that slow down execution and because Java is interpreted which is slower than direct execution of machine code    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    is a kind of object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:04.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:03.0
    is interpreted by the Java interpreteradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:03.0
    is not the same as JavaScript    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    is run using a virtual machine    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    supports method name overloadingadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:04.0
    supports multiple interface inheritancesource: Sun Java Tutorial, 2001-10-19 11:37:04.0
    treats all sequences of whitespace characters - other than those in strings - as though there were just a single spaceadded by: JK, source: On To Java, 2001-10-19 11:37:04.0
    uses Unicode    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:04.0
    was first designed for embedded electronic devicesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    was originally called Oaksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:04.0
    will not allow violations of certain security constraints when programs are downloaded over the Internet    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:04.0
    Java 1.0is available in almost all Web browsersadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:04.0
    is an instance of Javaadded by: JK, 2001-10-19 11:37:04.0
    was the first release of Javaadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    was released in 1995added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    Java 1.1has features added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    is available in later versions of Web browsersadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:04.0
    is an instance of Javaadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    was released in 1997added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    Java 1.2is a synonym of Java 2added by: JK, 2001-10-19 11:37:04.0
    Java 2is a kind of Javaadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:04.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:04.0
    is a synonym of Java 1.22001-10-19 11:37:04.0
    Java 2 with SDK 1.2has features added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:05.0
    is an instance of Java 2added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    was released in 1998added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    Java 2 with SDK 1.3has specification    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    has features
    • improved multimedia
    • more accessibility
    • faster compilation
    • HotSpot
    • enhanced support for sound
    • new Swing features
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:05.0
    is an instance of Java 2added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    is available from Sun    2001-10-19 11:37:05.0
    was released in 2000added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:05.0
    Java APIhas definition A large collection of ready-made software components that provide many useful capabilities, such as graphical user interface ( GUI ) widgetsadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:05.0
    insulates a program from hardware dependenciesadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:05.0
    is a kind of Application Programming Interfaceadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:05.0
    is a kind of collection of software componentsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:05.0
    is a subtopic of How Java Works2001-10-19 11:37:05.0
    is grouped into 1 or more librariesadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:05.0
    is part of the Java platformadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:05.0
    Java API Document Generatoris a synonym of javadocadded by: JK, source: Sun, 2001-10-19 11:37:05.0
    Java appletis a synonym of appletadded by: JK, 2001-10-19 11:37:05.0
    Java applicationis a synonym of applicationadded by: JK, 2001-10-19 11:37:05.0
    Java application launcheris a synonym of Java interpretersource: Sun, 2001-10-19 11:37:06.0
    Java Archive filecontains class files and a manifest fileadded by: DS, 2001-10-19 11:37:06.0
    has advantage when an applet is run, only one file needs to be downloaded from the web server instead of separate files for each class, image, audio file needed by the appletadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:06.0
    has definition A collection of Java classes and other files packaged into a single fileadded by: JK, source: Teach Yourself Java 2 in 21 Days, reference: Source 2, 2001-10-19 11:37:06.0
    has purpose to consolidate class files into a single file for more compact storage , distribution , and transmissionadded by: JK, 2001-10-19 11:37:06.0
    is a kind of fileadded by: DS, 2001-10-19 11:37:06.0
    is a subtopic of How Java Works2001-10-19 11:37:06.0
    is abbreviated as jar fileadded by: JK, 2001-10-19 11:37:06.0
    is created using the jar tool2001-10-19 11:37:06.0
    is supported by versions 4.0 and higher of Netscape Navigator and Microsoft Internet Exploreradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:06.0
    may be compressedadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:06.0
    Java Archive Toolis a synonym of jaradded by: JK, source: Sun, 2001-10-19 11:37:06.0
    Java at Sunhas URL http://java.sun.com    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:06.0
    is a subtopic of References2001-10-19 11:37:06.0
    is an instance of web sitesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:06.0
    Java Basicsis a subtopic of kbTop2001-10-19 11:37:06.0
    Java Beanis a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:06.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:06.0
    Java compileris a synonym of compileradded by: JK, 2001-10-19 11:37:06.0
    Java Debuggerhas documentation at Sun    2001-10-19 11:37:06.0
    has tutorial    2001-10-19 11:37:06.0
    has definition A command line debugger for Java classessource: Sun, added by: JK, 2001-10-19 11:37:06.0
    is a subtopic of Java Toolsadded by: JK, 2001-10-19 11:37:06.0
    is abbreviated as jdbadded by: JK, 2001-10-19 11:37:06.0
    is an instance of Java development tooladded by: JK, 2001-10-19 11:37:06.0
    Java Development Kithas definition A comprehensive set of tools, utilities, documentation and sample code for developing programsadded by: JK, reference: Source 2, 2001-10-19 11:37:07.0
    has part Java interpreteradded by: JK, 2001-10-19 11:37:07.0
    has part Java compileradded by: JK, 2001-10-19 11:37:07.0
    has part JREadded by: WH, 2001-10-19 11:37:07.0
    is a kind of Java development tool2001-10-19 11:37:07.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:07.0
    is abbreviated as JDKadded by: JK, 2001-10-19 11:37:07.0
    is available from Sun    2001-10-19 11:37:07.0
    manages source files and class files for programsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:07.0
    uses hierarchical files systems to manage source files and class filesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:07.0
    was renamed to Software Development Kit after JDK 1.1added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:07.0
    Java development toolhas purpose to assist a programmer in preparing, debugging and executing Java programsadded by: DS, 2001-10-19 11:37:07.0
    is a kind of tooladded by: JK, 2001-10-19 11:37:07.0
    is a subtopic of Java Tools2001-10-19 11:37:07.0
    Javadoes not execute the next line of code in the program if an exception is thrown and Java looks for some code to handle the exception and executes that instead    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    does not have features    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    does not let programmers
    • follow a invalid pointer
    • refer to information beyond the end of an array
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:03.0
    does not support
    • global functions
    • global variables
    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:03.0
    Java Gently: Programming Principles Explainedhas author Judith Bishopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:07.0
    has ISBN number 0-201-71050-1source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:07.0
    is a subtopic of References2001-10-19 11:37:07.0
    is an instance of booksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:07.0
    was published by Addison-Wesleysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:07.0
    was published in 2001source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:07.0
    Java History and Related Languagesis a subtopic of kbTop2001-10-19 11:37:07.0
    Java interpreter added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:07.0
    decodes bytecode for the Java virtual machineadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    has documentation at Sun    2001-10-19 11:37:08.0
    has definition A module that alternately decodes and executes every statement in some body of codeadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:08.0
    has example of running
    java HelloWorld
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:08.0
    has purpose to execute bytecode for the Java virtual machineadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    invokes the main method of the class that you specifyadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    is a kind of Java development tooladded by: JK, 2001-10-19 11:37:08.0
    is a kind of Java programadded by: JK, 2001-10-19 11:37:08.0
    is a subtopic of How Java Works2001-10-19 11:37:08.0
    is a synonym of Java application launcher2001-10-19 11:37:05.0
    is part of an implementation of the Java Virtual Machineadded by: DS, 2001-10-19 11:37:08.0
    is part of runtime systemadded by: DS, 2001-10-19 11:37:08.0
    can be part of Java development tooladded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    can be part of Java-compatible Web browseradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    to run you type java and the class file name (without its extension) on the command lineadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:08.0
    Java platformhas part a Java APIadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    has part a Java Virtual Machineadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    has part softwareadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    has purpose to run a Java programadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    is a kind of platform2001-10-19 11:37:08.0
    is a subtopic of How Java Works2001-10-19 11:37:08.0
    can be ported onto various hardware platforms because it does not contain hardwareadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:08.0
    Java Plug-inhas documentation at Sun    2001-10-19 11:37:08.0
    has definition A free browser add-on that supports the latest version of Javaadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:08.0
    is a subtopic of How Java Works2001-10-19 11:37:08.0
    is an instance of Java interpreteradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:08.0
    requires that added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:09.0
    supports Java 2added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:09.0
    was originally called the Java Activatoradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:09.0
    can be downloaded from Sun    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:08.0
    Java programhas 0 or 1 nameadded by: DS, 2001-10-19 11:37:09.0
    has definition A collection of 1 or more classes that work together and is started either by the operating system or a browser running it    added by: DS, reference: Source 2, 2001-10-19 11:37:09.0
    is portable because it is compiled into bytecode that can run on any computer with a Java Virtual Machine    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:09.0
    is a kind of kbTopadded by: WH, 2001-10-19 11:37:09.0
    is a subtopic of How Java Works2001-10-19 11:37:09.0
    is a synonym of program2001-10-19 11:37:43.0
    is executed by a Java Virtual Machineadded by: DS, 2001-10-19 11:37:09.0
    is partitioned into applet, applicationadded by: DS, 2001-10-19 11:37:09.0
    is usually slower than native codeadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:09.0
    runs on a Java platformadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:09.0
    can be compiled on any platform that has a Java compiler    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:09.0
    can be run on any implementation of the Java Virtual Machine specification    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:09.0
    must be readable by humanssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:09.0
    should follow consistent guidelines that make the program easy to readsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:09.0
    to run you may need platform-specific instructionsadded by: DS, 2001-10-19 11:37:09.0
    to run you type java and the class file name on the command lineadded by: JK, source: On To Java, 2001-10-19 11:37:09.0
    Java Runtime Environmentcontains an implementation of the Java virtual machine, the Java platform core classes, and supporting filesadded by: WH, 2001-10-19 11:37:09.0
    has documentation    2001-10-19 11:37:09.0
    has definition The runtime part of the Java Development Kit    added by: WH, reference: Glossary, 2001-10-19 11:37:09.0
    is the smallest set of executables and files that constitute the standard Java platformadded by: WH, 2001-10-19 11:37:09.0
    is a kind of Java platform2001-10-19 11:37:09.0
    is a subtopic of How Java Works2001-10-19 11:37:09.0
    is abbreviated as JREadded by: WH, 2001-10-19 11:37:09.0
    is available from Sun    2001-10-19 11:37:09.0
    is part of the Java Development Kitadded by: JK, 2001-10-19 11:37:09.0
    Java Toolsis a subtopic of kbTop2001-10-19 11:37:09.0
    Java Virtual Machineallows an application to have multiple threads of execution running concurrentlyadded by: JK, source: Java 2 Platform, Standard Edition, v 1.3 API Specification, 2001-10-19 11:37:09.0
    chooses a constructor based on the number of the actual arguments and the types of the actual argumentsadded by: DS, 2001-10-19 11:37:10.0
    has specification    2001-10-19 11:37:10.0
    has definition A program that implements the theoretical concept of the Java Virtual Machineadded by: JK, reference: Source 2, 2001-10-19 11:37:10.0
    has definition An architecture-neutral and portable language platform of Javaadded by: JK, reference: Source 2, 2001-10-19 11:37:10.0
    has purpose to interpret bytecode and make the appropriate system-level calls to the native platformadded by: JK, 2001-10-19 11:37:10.0
    insulates a program from hardware dependenciesadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:10.0
    is machine-specificadded by: JK, 2001-10-19 11:37:10.0
    is a kind of virtual machineadded by: JK, 2001-10-19 11:37:10.0
    is a subtopic of How Java Works2001-10-19 11:37:10.0
    is abbreviated as Java VMadded by: JK, 2001-10-19 11:37:10.0
    is part of runtime systemadded by: JK, 2001-10-19 11:37:10.0
    performs just-in-time compilationadded by: JK, source: On To Java, 2001-10-19 11:37:10.0
    performs run-time error checkingadded by: JK, source: On To Java, 2001-10-19 11:37:10.0
    can be implemented in hardware or softwareadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:09.0
    Java VMis a subtopic of How Java Works2001-10-19 11:37:10.0
    is an abbreviation for Java Virtual Machineadded by: JK, 2001-10-19 11:37:10.0
    is an instance of abbreviationadded by: JK, 2001-10-19 11:37:10.0
    Java-compatible Web browserexecutes any Java appletadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:12.0
    has definition A Web browser that can display Java appletsadded by: JK, reference: Source 2, 2001-10-19 11:37:12.0
    has part a Java interpreteradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:12.0
    is a kind of Web browseradded by: JK, 2001-10-19 11:37:12.0
    is a subtopic of Applets2001-10-19 11:37:12.0
    can view an appletadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:12.0
    java.appletcontains applet classesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:10.0
    has specification    2001-10-19 11:37:10.0
    has definition A package that contains applet classesadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:10.0
    is a subtopic of Applets2001-10-19 11:37:10.0
    is a subtopic of Example Packages2001-10-19 11:37:10.0
    is an instance of packageadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:10.0
    java.awtcontains GUI widget classesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:10.0
    has specification    2001-10-19 11:37:10.0
    has definition A package that contains GUI widget classesadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:10.0
    is operating-system independent; a program using it will run under any operating system without changesadded by: JK, source: On To Java, 2001-10-19 11:37:10.0
    is a subtopic of Example Packages2001-10-19 11:37:11.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:11.0
    is an instance of packageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:11.0
    is part of Java's application programming interfaceadded by: JK, source: On To Java, 2001-10-19 11:37:11.0
    java.awt.eventhas specification    2001-10-19 11:37:11.0
    is operating-system independent; a program using it will run under any operating system without changesadded by: JK, source: On To Java, 2001-10-19 11:37:11.0
    is a subtopic of Example Packages2001-10-19 11:37:11.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:11.0
    is an instance of packageadded by: JK, 2001-10-19 11:37:11.0
    is part of Java's application programming interfaceadded by: JK, source: On To Java, 2001-10-19 11:37:11.0
    java.awt.swinghas been renamed to javax.swing in Swing 1.1 (for JDK 1.1) and for the core package in JDK 1.2source: java.sun.com, 2001-10-19 11:37:11.0
    is operating-system independent; a program using it will run under any operating system without changesadded by: JK, source: On To Java, 2001-10-19 11:37:11.0
    is a subtopic of Example Packages2001-10-19 11:37:11.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:11.0
    is an instance of packageadded by: JK, 2001-10-19 11:37:11.0
    was introduced in Java 2added by: JK, source: On To Java, 2001-10-19 11:37:11.0
    java.iocontains input and output classesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:11.0
    has specification    2001-10-19 11:37:11.0
    has definition A package that contains input and output classesadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:11.0
    is a subtopic of Example Packages2001-10-19 11:37:11.0
    is a subtopic of Input and Output2001-10-19 11:37:11.0
    is an instance of packageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:11.0
    must be imported when you are using file input or file output streamsadded by: JK, source: On To Java, 2001-10-19 11:37:11.0
    java.langhas specification    2001-10-19 11:37:11.0
    is the only package that all classes automatically have access toadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:11.0
    is a subtopic of Example Packages2001-10-19 11:37:12.0
    is a subtopic of Java Basics2001-10-19 11:37:12.0
    is an instance of packageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:12.0
    is imported automatically by the runtime systemadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:12.0
    java.utilcontains utilities including the Vector classadded by: JK, source: On To Java, 2001-10-19 11:37:12.0
    has specification    2001-10-19 11:37:12.0
    is a subtopic of Example Packages2001-10-19 11:37:12.0
    is a subtopic of Java Basics2001-10-19 11:37:12.0
    is an instance of packageadded by: JK, source: On To Java, 2001-10-19 11:37:12.0
    javachas documentation at Sun    2001-10-19 11:37:12.0
    has documentation at Sun    2001-10-19 11:37:12.0
    has example of use javac Demonstrate.javaadded by: JK, source: On To Java, 2001-10-19 11:37:12.0
    is a subtopic of How Java Works2001-10-19 11:37:12.0
    is an instance of compileradded by: JK, source: On To Java, 2001-10-19 11:37:12.0
    is an instance of Java development tooladded by: JK, 2001-10-19 11:37:12.0
    to run you type javac and the source file name with its extension on the command lineadded by: JK, source: On To Java, 2001-10-19 11:37:12.0
    javadochas purpose documenting Java programssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:12.0
    is a subtopic of Java Tools2001-10-19 11:37:12.0
    is a synonym of Java API Document Generator2001-10-19 11:37:05.0
    is an instance of Java programsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    Javadoc pageshas URL http://java.sun.com/javadoc    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    is a subtopic of Java Tools2001-10-19 11:37:13.0
    is an instance of web sitesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    JavaScripthas purpose to add functionality to web pages    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:13.0
    is an instance of scripting languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    is not the same as Java    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    shares many of the same keywords with Java    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    shares much of the same syntax with Java    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    JavaWorldhas URL http://www.javaworld.com/javaworld    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    is a subtopic of References2001-10-19 11:37:13.0
    is an instance of web sitesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:13.0
    javax.swingis a subtopic of Example Packages2001-10-19 11:37:13.0
    is an instance of package2001-10-19 11:37:13.0
    is part of Java's application programming interfaceadded by: JK, source: On To Java, 2001-10-19 11:37:13.0
    provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platformssource: java.sun.com, 2001-10-19 11:37:13.0
    was called java.awt.swing in Java 1.1source: java.sun.com, 2001-10-19 11:37:13.0
    jdbis a subtopic of Java Toolsadded by: JK, 2001-10-19 11:37:13.0
    is an abbreviation of Java Debuggeradded by: JK, 2001-10-19 11:37:13.0
    is an instance of abbreviationadded by: JK, 2001-10-19 11:37:14.0
    JDKis a subtopic of Java Tools2001-10-19 11:37:14.0
    is an abbreviation for Java Development Kit2001-10-19 11:37:14.0
    is an instance of abbreviationadded by: JK, 2001-10-19 11:37:14.0
    JIT compilerhas definition A compiler that converts all of the bytecode into native machine code just as a program is runadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:14.0
    has purpose to improve run-time speed over code that is interpreted by a Java virtual machineadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:14.0
    is a kind of compileradded by: JK, 2001-10-19 11:37:14.0
    is a subtopic of How Java Works2001-10-19 11:37:14.0
    is a synonym of Just-in-time compiler2001-10-19 11:37:15.0
    is part of an implementation of the Java Virtual Machine specification2001-10-19 11:37:14.0
    JITCis a subtopic of How Java Works2001-10-19 11:37:14.0
    is an abbreviation for just-in-time compilation    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:14.0
    is an instance of abbreviationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:14.0
    joinhas purpose to direct a program to wait for a thread to finish its workadded by: JK, source: On To Java, 2001-10-19 11:37:14.0
    has syntax
    thread.join(0)
    The argument specifies the time in milliseconds the program is to wait. 0 means the program will wait as long as necessary
    added by: JK, source: On To Java, 2001-10-19 11:37:14.0
    is a member of Thread class2001-10-19 11:37:14.0
    is a subtopic of Threads2001-10-19 11:37:14.0
    is an instance of instance method2001-10-19 11:37:14.0
    JREis a subtopic of How Java Works2001-10-19 11:37:14.0
    is an abbreviation for Java Runtime Environmentadded by: JK, 2001-10-19 11:37:14.0
    is an instance of abbreviationadded by: JK, 2001-10-19 11:37:14.0
    just-in-time compilationhas definition A kind of compilation that converts a method into machine code the first time it is executed and stores the machine code to save work on subsequent calls    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:14.0
    is a kind of compilation2001-10-19 11:37:15.0
    is a subtopic of How Java Works2001-10-19 11:37:14.0
    is abbreviated as JITC    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:14.0
    Just-in-time compileris a synonym of JIT compiler2001-10-19 11:37:15.0
    keyboard eventis a kind of GUI event objectadded by: JK, source: On To Java, 2001-10-19 11:37:15.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:15.0
    represents the user pressing a key on the keyboardadded by: JK, source: On To Java, 2001-10-19 11:37:15.0
    keywordhas definition A word that has special meaning in Javasource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:15.0
    is a kind of syntactic unitadded by: DS, 2001-10-19 11:37:15.0
    label statementhas purpose to mark a particular line of codeadded by: JK, 2001-10-19 11:37:15.0
    has syntax
    labelName: lineOfCode;
    added by: JK, 2001-10-19 11:37:15.0
    is a kind of control flow statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:15.0
    is a subtopic of Loops and Decision Making2001-10-19 11:37:15.0
    labelled break statementhas example
    //Without the label the break statement would exit the inner loop and resume execution with the outer loop
    out:
    for (int i = 0; i < 10; i++) {
    while (x < 50) {
    if (i * x++ > 400) {
    break out;
    }
    //inner loop here
    }
    //outer loop here
    }
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:15.0
    is a kind of break statementadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:15.0
    is a subtopic of Loops and Decision Making2001-10-19 11:37:15.0
    labelled continue statementcontinues at the next iteration of the labeled loopadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:15.0
    has example
    public int indexOf(String str, int fromIndex) { 
    char[] v1 = value;
    char[] v2 = str.value;
    int max = offset + (count - str.count);
    test:
    for (int i = offset + ((fromIndex < 0) ? 0 : fromIndex); i <= max ; i++) {
    int n = str.count;
    int j = i;
    int k = str.offset;
    while (n-- != 0) {
    if (v1[j++] != v2[k++]) {
    continue test;
    }
    } return i - offset;
    } return -1;
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:15.0
    is a kind of continue statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:15.0
    is a subtopic of Loops and Decision Making2001-10-19 11:37:15.0
    late bindingis a synonym of dynamic bindingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:15.0
    leaf classhas definition A class at the very bottom of an inheritance hierarchysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:16.0
    is a kind of concrete classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:16.0
    is a subtopic of Classes2001-10-19 11:37:16.0
    lightweight processis a synonym of threadadded by: JK, source: Java in a Nutshell, 2001-10-19 11:37:16.0
    line feed characteris a subtopic of Constants2001-10-19 11:37:16.0
    is an instance of charadded by: JK, source: On To Java, 2001-10-19 11:37:16.0
    is an instance of character literaladded by: JK, 2001-10-19 11:37:16.0
    is denoted by '\n'added by: JK, source: On To Java, 2001-10-19 11:37:16.0
    LinkedListhas specification    2001-10-19 11:37:16.0
    is less efficient than ArrayList and Vector class for operations such as extracting an arbitrary element    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:16.0
    is more efficient than ArrayList and Vector class for operations such as inserting an element in the middle    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:16.0
    is a subtopic of Collections2001-10-19 11:37:16.0
    is a subtopic of Example Classes2001-10-19 11:37:16.0
    is an instance of collection classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:16.0
    literalhas definition A value that appears explicitly in a programadded by: JK, source: On To Java, reference: Source 2, 2001-10-19 11:37:16.0
    is a kind of symbol2001-10-19 11:37:16.0
    is a subtopic of Literals2001-10-19 11:37:16.0
    literal stringis a synonym of string literaladded by: JK, 2001-10-19 11:37:16.0
    Literalsis a subtopic of Java Basics2001-10-19 11:37:17.0
    is a subtopic of Java Basics2001-10-19 11:37:17.0
    local variablehas a lifetime which is the time of one execution of its blockadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:17.0
    has definition A data item known within a block but inaccessible to code outside the blockadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:17.0
    has definition A variable that is declared in a methodadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:17.0
    is a kind of variableadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:17.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:17.0
    can be declared anywhere in a methodadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:17.0
    can be initialized by an assignment statementadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:17.0
    local variable declarationis a kind of variable declaration of a local variableadded by: WH, 2001-10-19 11:37:17.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:17.0
    is a synonym of declaration statement2001-10-19 11:36:35.0
    is a synonym of local variable declaration statement2001-10-19 11:37:17.0
    local variable declaration statementis a synonym of local variable declarationadded by: DS, 2001-10-19 11:37:17.0
    logical operatorhas purpose to perform operations on boolean operand(s)added by: JT, 2001-10-19 11:37:17.0
    is a kind of operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:17.0
    is a subtopic of Operators2001-10-19 11:37:17.0
    is a synonym of boolean operator2001-10-19 11:36:12.0
    is a synonym of conditional operator2001-10-19 11:36:31.0
    returns a booleansource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:17.0
    longis a kind of integeradded by: DS, 2001-10-19 11:37:18.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:18.0
    see also long^2added by: JK, 2001-10-19 11:37:18.0
    see also long^3added by: JK, 2001-10-19 11:37:18.0
    long integer literalhas example 4Ladded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:18.0
    is a kind of integer literal2001-10-19 11:37:18.0
    is a subtopic of Literals2001-10-19 11:37:18.0
    is indicated by putting the letter L (in upper or lower case) after the numberadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:18.0
    long methodcontains more than 20 lines of codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    is a kind of methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    is a subtopic of Methods2001-10-19 11:37:18.0
    should be avoidedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    should be divided into shorter methodssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    long nameis a synonym of fully qualified nameadded by: JK, 2001-10-19 11:37:18.0
    long statementis a kind of statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    is a subtopic of Statements and Expressions2001-10-19 11:37:18.0
    should be divided into multiple lines such that the second and subsequent lines begin with an operator and are indentedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    long^2has default value 0added by: JK, 2001-10-19 11:37:18.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:18.0
    is an instance of integer^2added by: DS, 2001-10-19 11:37:18.0
    requires 64 bits    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    see also longadded by: JK, 2001-10-19 11:37:18.0
    see also long^3added by: JK, 2001-10-19 11:37:18.0
    stores an integer    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:18.0
    can hold a value between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:37:18.0
    long^3has purpose to indicate that a variable is of type long2001-10-19 11:37:18.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:18.0
    is an instance of keywordadded by: DS, 2001-10-19 11:37:19.0
    see also longadded by: JK, 2001-10-19 11:37:19.0
    see also long^2added by: JK, 2001-10-19 11:37:19.0
    look-it-up principleis a kind of principle2001-10-19 11:37:19.0
    is a subtopic of Programming2001-10-19 11:37:19.0
    states that a program should look up a frequently needed answer, rather than computing that answer, whenever practicableadded by: JK, source: On To Java, 2001-10-19 11:37:19.0
    loop statementhas purpose to execute a section of code more than onceadded by: JK, 2001-10-19 11:37:19.0
    is a kind of control flow statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:19.0
    is a subtopic of Loops and Decision Making2001-10-19 11:37:19.0
    Loops and Decision Makingis a subtopic of kbTop2001-10-19 11:37:19.0
    main classhas definition The class which contains the main method and whose name is specified as an argument to the Java interpreteradded by: JT, reference: Source 2, 2001-10-19 11:37:19.0
    is a kind of classadded by: JK, 2001-10-19 11:37:19.0
    is a subtopic of Classes2001-10-19 11:37:19.0
    main methodcalls other methods to run an applicationadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:19.0
    has main method signatureadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:19.0
    has definition A method that is initially executed in an applicationadded by: DS, comment: only one method in a class can be the main method, which is run when you specify a class to the interpreter, reference: Source 2, 2001-10-19 11:37:19.0
    has method signature
    public static void main(String[] args)
    added by: JK, 2001-10-19 11:37:19.0
    is the first method called when the Java interpreter executes an application    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:19.0
    is the starting point for an applicationadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:19.0
    is a kind of class methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:19.0
    is a subtopic of Methods2001-10-19 11:37:19.0
    is part of a classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:19.0
    is similar to a main function in Cadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:19.0
    must be added by: JK, 2001-10-19 11:37:19.0
    must have one argument of type String[]added by: JK, 2001-10-19 11:37:19.0
    main method signaturehas syntax
    public static void main(String[] arguments) {
    // body of method
    }
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:19.0
    is a kind of method signature2001-10-19 11:37:20.0
    is a subtopic of Methods2001-10-19 11:37:20.0
    see also main method2001-10-19 11:37:20.0
    Mathcontains built-in class methods:
    • log(a) - natural logarithm of a
    • abs(a) - absolute value of a
    • max(a,b) - maximum of a and b
    • pow(a,b) - a to the bth power
    • sin(a) - sin of a radians
    • random() - a random number between 0.0 and 1.0
    added by: JK, source: On To Java, 2001-10-19 11:37:20.0
    has specification    2001-10-19 11:37:20.0
    is a subtopic of Example Classes2001-10-19 11:37:20.0
    is an instance of classadded by: JK, source: On To Java, 2001-10-19 11:37:20.0
    mechanismis a kind of kbTopadded by: JK, 2001-10-19 11:37:20.0
    memberhas definition A field (instance variable) or method of a classadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:20.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:37:20.0
    is a subtopic of Members2001-10-19 11:37:20.0
    is partitioned into instance member, class memberadded by: DS, 2001-10-19 11:37:20.0
    is partitioned into member variable, method, inner classadded by: DS, source: Sun Java Tutorial, comment: A & G page 9, 2001-10-19 11:37:20.0
    member functionis a synonym of methodadded by: WH, 2001-10-19 11:37:20.0
    member of a packagehas definition A class or interface belonging to a packageadded by: JK, reference: Source 2, 2001-10-19 11:37:20.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:37:20.0
    is a subtopic of Packages2001-10-19 11:37:20.0
    to import you put an import statement for it at the beginning of your file before any class or interface definitions but after a package statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:20.0
    member variableis a kind of member2001-10-19 11:37:21.0
    is a kind of variableadded by: JK, 2001-10-19 11:37:21.0
    is a member of a class or an objectadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:20.0
    is a synonym of field2001-10-19 11:36:42.0
    is accessible to the code in its classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:20.0
    is partitioned into class variable, instance variableadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:21.0
    can be declared anywhere in a class outside of a methodadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:20.0
    can be initialized by an assignment statementadded by: DS, source: Sun Java Tutorial, comment: may be done at compile time, 2001-10-19 11:37:20.0
    member variable in an interfaceis a kind of member variableadded by: JK, source: The Java Programming Language, 2001-10-19 11:37:21.0
    is a subtopic of Interfaces2001-10-19 11:37:21.0
    must be static and finaladded by: JK, source: The Java Programming Language, 2001-10-19 11:37:21.0
    Membersis a subtopic of Classes and Methods2001-10-19 11:37:21.0
    menuis a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:21.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:21.0
    messagehas definition A means of communication between objectsadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:21.0
    has part 0 or more parameters needed by the methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:21.0
    has part the name of the method to performadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:21.0
    has part the object to whom the message is addressedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:21.0
    has purpose to communicate between objectsadded by: DS, 2001-10-19 11:37:21.0
    has purpose to request that the receiving object perform a methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:21.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:37:21.0
    is a subtopic of Methods2001-10-19 11:37:21.0
    method    added by: JK, source: Sun Java Tutorial, modified by: JT, 2001-10-19 11:37:21.0
    added by: WH, source: Specification, 2001-10-19 11:37:21.0
    added by: JK, source: On To Java, 2001-10-19 11:37:21.0
    added by: JK, source: On To Java, 2001-10-19 11:37:21.0
    added by: JK, source: On To Java, 2001-10-19 11:37:21.0
    belongs to a class    added by: DS, 2001-10-19 11:37:21.0
    creates an object by instantiating a classadded by: DS, 2001-10-19 11:37:22.0
    has definition A concrete implementation of an operation; a procedure in a class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    has definition A function defined in a classadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:22.0
    has definition A procedural abstraction used to implement the behaviour of a class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    has definition Code that specifies some of the behaviour of a class or instanceadded by: DS, reference: Source 2, 2001-10-19 11:37:22.0
    has part a block of implementation codeadded by: WH, except: abstract method, 2001-10-19 11:37:22.0
    has part method definitionadded by: JK, 2001-10-19 11:37:22.0
    has part method signatureadded by: JK, 2001-10-19 11:37:22.0
    implements added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:22.0
    is equivalent to the terms "function member" or "member function" which are used in C++    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    is equivalent to the terms "routine", "function" or "method" which are used in non object-oriented programming languages    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    is a kind of access unitadded by: DS, 2001-10-19 11:37:22.0
    is a kind of memberadded by: JK, 2001-10-19 11:37:22.0
    is a kind of specificationadded by: DS, 2001-10-19 11:37:22.0
    is a subtopic of Methods2001-10-19 11:37:22.0
    is a synonym of function2001-10-19 11:36:49.0
    is a synonym of member function2001-10-19 11:37:20.0
    is part of a class or an objectadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:22.0
    is partitioned into static method, instance method    added by: DS, 2001-10-19 11:37:22.0
    overrides a method in a superclass with the same namesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    returns a value that is of the return type of the method or a subtype of that type    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:22.0
    method bodyhas definition One of two parts of an method definition (the other part is the method declaration)added by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:23.0
    has purpose to specify the constant declarations and variable declarations of a methodadded by: JK, 2001-10-19 11:37:23.0
    is a kind of body2001-10-19 11:37:23.0
    is a subtopic of Methods2001-10-19 11:37:23.0
    can contain 0 or more local variable declarationadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:23.0
    method callis a kind of expression statementadded by: DS, 2001-10-19 11:37:23.0
    is a subtopic of Methods2001-10-19 11:37:23.0
    can omit the name of the class that the called method belongs to if it is being called from within the same classadded by: JK, source: On To Java, 2001-10-19 11:37:23.0
    methodcan access all instance variables of all objects of its classadded by: DS, 2001-10-19 11:37:21.0
    can be inherited by subclasses of its class    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:21.0
    can be accessed by other methods and variables in any class in the same package by default    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:21.0
    can have an array as a parameter - see method parameter    added by: JK, source: On To Java, 2001-10-19 11:37:21.0
    can use the super method to invoke a method declared in the superclassadded by: JK, source: Sun Java Tutorial, comment: p. 70 Nutshell, 2001-10-19 11:37:21.0
    cannot be passed as an argument to a method or constructor    added by: DS, source: Sun Java Tutorial, comment: unlike C and C++, 2001-10-19 11:37:22.0
    method declarationdefines the methodadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:23.0
    has example
    int[] makeRange(int lower, int upper) 
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:23.0
    has purpose to declare a method2001-10-19 11:37:23.0
    has syntax
    accessLevel static abstract final native synchronized returnType methodName (parameterList) throws exceptions
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:23.0
    is a kind of declarationadded by: JK, 2001-10-19 11:37:23.0
    is a subtopic of Methods2001-10-19 11:37:23.0
    method declared in an interfaceis a kind of methodadded by: JK, 2001-10-19 11:37:23.0
    is a subtopic of Interfaces2001-10-19 11:37:23.0
    is a subtopic of Methods2001-10-19 11:37:23.0
    is implicitly public and abstractsource: Sun Java Tutorial, 2001-10-19 11:37:23.0
    may not be staticadded by: JK, source: The Java Programming Language, 2001-10-19 11:37:23.0
    method declared without an access modifieris a kind of methodadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:23.0
    can be declared more private in a subclassadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:23.0
    method definitionhas example
    int[] makeRange(int lower int upper) {
    //body of this method
    }
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:24.0
    has part added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:24.0
    has purpose to define a method2001-10-19 11:37:24.0
    has syntax
    accessLevel static abstract final native synchronized returnType methodName (parameterList) throws exceptions
    {
    MethodBody
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:24.0
    is a kind of definitionadded by: JK, 2001-10-19 11:37:24.0
    is a subtopic of Methods2001-10-19 11:37:24.0
    does not have to occur before calls to that methodadded by: JK, source: On To Java, 2001-10-19 11:37:24.0
    methoddoes not return a value if it has a void return typeadded by: JK, 2001-10-19 11:37:22.0
    may contain empty return statement if it has a void return type    added by: JK, source: On To Java, 2001-10-19 11:37:22.0
    may have access modifier added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:22.0
    must contain return statement unless it has a void return type    added by: JK, source: On To Java, 2001-10-19 11:37:22.0
    must define its parameter listadded by: Marvin, 2001-10-19 11:37:22.0
    must define its return typeadded by: Marvin, 2001-10-19 11:37:22.0
    method nameis a kind of nameadded by: JK, 2001-10-19 11:37:24.0
    is a subtopic of Methods2001-10-19 11:37:24.0
    can be the same as another method's name in another classadded by: JK, source: On To Java, 2001-10-19 11:37:24.0
    can be the same as another method's name in the same class if they each have a different arrangement of parameter typesadded by: JK, source: On To Java, 2001-10-19 11:37:24.0
    method name of overriding methodis a kind of method nameadded by: JK, 2001-10-19 11:37:24.0
    is a subtopic of Methods2001-10-19 11:37:24.0
    is the same as method name of the overridden methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:24.0
    method name overloadinghas definition A mechanism that allows several methods to have the same name as long as they have different method signatures    added by: DS, reference: Source 2, 2001-10-19 11:37:24.0
    has example
    // Two methods have the same name and the same number of parameters
    // but different parameter types

    public String eats(Cat aCat) {
    return "mice";
    }

    public String eats(Dog aDog) {
    return "bones";
    }
    added by: JK, 2001-10-19 11:37:24.0
    is a kind of mechanismadded by: JK, 2001-10-19 11:37:24.0
    is a subtopic of Methods2001-10-19 11:37:24.0
    is a synonym of method overloading2001-10-19 11:37:24.0
    makes it possible for methods to behave differently depending on the arguments they receive    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:24.0
    does not consider the return type when differentiating between overloaded methodsadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:24.0
    method overloadingis a synonym of method name overloadingadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:24.0
    method overridinghas benefit that a class can inherit from a superclass whose behaviour is "close enough" and then override some methods as neededadded by: JK, 2001-10-19 11:37:24.0
    has definition The process of providing a more specialized implementation for the methodadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:24.0
    is a kind of processadded by: JK, 2001-10-19 11:37:25.0
    is a subtopic of Methods2001-10-19 11:37:25.0
    is a synonym of hiding2001-10-19 11:36:51.0
    is a synonym of overriding2001-10-19 11:37:37.0
    is a synonym of overshadowing2001-10-19 11:37:38.0
    is a synonym of shadowing2001-10-19 11:37:53.0
    occurs when two methods with the same name, the same number of parameters, and the same parameter types are defined in different classes, one of which is a superclass of the otheradded by: JK, source: On To Java, 2001-10-19 11:37:25.0
    method parameter added by: JK, source: On To Java, 2001-10-19 11:37:25.0
    has example
    //Example of 2 method parameters, one integer and one array, shown in bold
    public static Movie[] readData(int number, Movie[] movies) {
    ...
    }
    added by: JK, source: On To Java, 2001-10-19 11:37:25.0
    has purpose to pass values into methodsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:25.0
    hides instance variable of the classadded by: DS, source: Sun Java Tutorial, comment: i.e. if they have the same name, 2001-10-19 11:37:25.0
    is a kind of parameteradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:25.0
    is a subtopic of Methods2001-10-19 11:37:25.0
    methodshould be as private as possiblesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    should have a comment at its head if the method is non-obvioussource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    should not be public except for those that will definitely need to be called from outside the package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:22.0
    should return to its caller from only one place which should be the last statement    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:23.0
    method signaturehas definition The method's name and the number of its parameters and the types of its parametersadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:25.0
    has purpose to indicate the method's name and the number of its parameters and the types of its parametersadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:25.0
    has syntax
    methodName (parameter1Type parameter1 ...)
    added by: JK, 2001-10-19 11:37:25.0
    is a kind of syntactic unitadded by: JK, 2001-10-19 11:37:25.0
    is a subtopic of Methods2001-10-19 11:37:25.0
    is a synonym of header2001-10-19 11:36:50.0
    method that is declared in Object classis a kind of instance methodadded by: JK, 2001-10-19 11:37:25.0
    is a subtopic of Methods2001-10-19 11:37:25.0
    methodusually hides instance variables, class variables from other objectsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:23.0
    Methodsis a subtopic of Classes and Methods2001-10-19 11:37:25.0
    Microsofthas URL: www.microsoft.com    2001-10-19 11:37:25.0
    is a kind of companyadded by: JK, 2001-10-19 11:37:25.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:25.0
    Microsoft Internet Exploreris a subtopic of Applets2001-10-19 11:37:25.0
    is an instance of Java-compatible Web browseradded by: JK, 2001-10-19 11:37:25.0
    Microsoft Java toolshas URL http://microsoft.com/java    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:25.0
    is a subtopic of Java Tools2001-10-19 11:37:26.0
    is an instance of programming environmentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:26.0
    modal dialoghas definition A dialog that the user must dismiss before interacting with any other window. While in the modal dialog, the system is in a very restrictive modesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:26.0
    is a kind of dialogsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:26.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:26.0
    modular programhas definition A program divided into units that can be developed and maintained independentlyadded by: JK, source: On To Java, 2001-10-19 11:37:26.0
    is a kind of Java programadded by: JK, source: On To Java, 2001-10-19 11:37:26.0
    is a subtopic of Programming2001-10-19 11:37:26.0
    modularityhas purpose source code for an class can be written and maintained independently of the source code for other classesadded by: JK, source: Sun Java Tutorial, comment: changed object to class, 2001-10-19 11:37:26.0
    is a benefit of object-oriented programmingadded by: JK, 2001-10-19 11:37:26.0
    is a kind of abstraction mechanismadded by: WH, 2001-10-19 11:37:26.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:26.0
    modularity principleis a kind of principle2001-10-19 11:37:26.0
    is a subtopic of Programming2001-10-19 11:37:26.0
    states that you should divide your programs into units that you can develop and maintain independentlyadded by: JK, source: On To Java, 2001-10-19 11:37:26.0
    mouse eventis a kind of GUI event objectadded by: JK, source: On To Java, 2001-10-19 11:37:26.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:26.0
    represents the user clicking the mouseadded by: JK, source: On To Java, 2001-10-19 11:37:26.0
    multidimensional arrayhas example
    An array of the days of the year grouped into weeks
    int[][] dayValue = new int[52][7]
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:26.0
    is a kind of array2001-10-19 11:37:27.0
    is a subtopic of Arrays2001-10-19 11:37:26.0
    is created by declaring an array of arraysadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:26.0
    multiple inheritancehas definition Inheritance from more than one superclasssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:27.0
    is a kind of inheritancesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:27.0
    is a subtopic of Inheritance2001-10-19 11:37:27.0
    can result in more complex systems than single inheritance    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:27.0
    should be avoided if possiblesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:27.0
    multithreadinghas benefit it improves the interactive performance of graphical applications for the useradded by: JK, source: Java in a Nutshell, 2001-10-19 11:37:27.0
    has definition A mechanism that provides support for multiple threads of execution to run concurrently within a program without interfering with each otheradded by: JK, 2001-10-19 11:37:27.0
    is a kind of mechanism2001-10-19 11:37:27.0
    is a subtopic of Threads2001-10-19 11:37:27.0
    see also thread2001-10-19 11:37:27.0
    mutatoris a synonym of set methodadded by: WH, 2001-10-19 11:37:27.0
    nameis a kind of symbol2001-10-19 11:37:27.0
    is made up of a sequence of Unicode charactersadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:27.0
    is partitioned into fully qualified name, simple nameadded by: JK, 2001-10-19 11:37:27.0
    cannot be a keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:27.0
    name of a constructoris a kind of nameadded by: JK, 2001-10-19 11:37:28.0
    is a subtopic of Constructors2001-10-19 11:37:28.0
    is the same as the name of its classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:27.0
    name spaceincludes the names in the file's own package plus the names in all imported packages    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:28.0
    is a kind of kbTopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:28.0
    is a subtopic of Packages2001-10-19 11:37:28.0
    named constanthas definition A constant that has a nameadded by: JK, reference: Source 2, 2001-10-19 11:37:28.0
    is a kind of constantadded by: JK, 2001-10-19 11:37:28.0
    is a subtopic of Constants2001-10-19 11:37:28.0
    named object referencehas a name which is a variable name or a literaladded by: DS, 2001-10-19 11:37:28.0
    is a kind of object referenceadded by: DS, 2001-10-19 11:37:28.0
    is a subtopic of Objects2001-10-19 11:37:28.0
    nativehas definition A keyword that indicates that the method code is not written in Javaadded by: Marvin, 2001-10-19 11:37:28.0
    is a subtopic of Methods2001-10-19 11:37:28.0
    is an instance of keywordadded by: Marvin, 2001-10-19 11:37:28.0
    modifies method declarationadded by: JK, source: Java in a Nutshell, 2001-10-19 11:37:28.0
    need-to-know principleis a kind of principle2001-10-19 11:37:28.0
    is a subtopic of Programming2001-10-19 11:37:28.0
    states that you should restrict access to your classes to the instance variables and methods in public interfaces so that you can revise and improve the other instance variables and methods without worrying about whether other programmers have already come to depend on themadded by: JK, source: On To Java, 2001-10-19 11:37:28.0
    nested blockhas definition A block that is nested inside another blockadded by: JK, reference: Source 2, 2001-10-19 11:37:28.0
    is a kind of blockadded by: DS, 2001-10-19 11:37:29.0
    is a subtopic of Statements and Expressions2001-10-19 11:37:28.0
    should be indented carefullysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:29.0
    nested classhas definition A class that is a member of another classadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:29.0
    is a kind of classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:29.0
    is a subtopic of Classes2001-10-19 11:37:29.0
    nested if statementhas example
    if (operation == '+')
    add(object1,object2);
    else if (operation == '-')
    subtract(object1,object2);
    else if (operation == '*')
    multiply(object1,object2);
    else if (operation == '/')
    divide(object1,object2);
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:29.0
    is a kind of if statementadded by: JK, source: On To Java, 2001-10-19 11:37:29.0
    is a subtopic of Loops and Decision Making2001-10-19 11:37:29.0
    may contain an if statement or an if-else statement as its embedded statementadded by: JK, source: On To Java, 2001-10-19 11:37:29.0
    nested if-else statementhas example
    if (length < 10) {
    System.out.println("Small");
    } else {
    if (length < 20){
    System.out.println("Medium");
    } else {
    System.out.println("Large");
    }
    }
    added by: JK, 2001-10-19 11:37:29.0
    is a kind of if-else statementadded by: JK, source: On To Java, 2001-10-19 11:37:29.0
    is a subtopic of Loops and Decision Making2001-10-19 11:37:29.0
    may contain an if statement or an if-else statement as its embedded statementsadded by: JK, source: On To Java, 2001-10-19 11:37:29.0
    Netscapehas URL: www.netscape.com    2001-10-19 11:37:29.0
    is a kind of companyadded by: JK, 2001-10-19 11:37:29.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:29.0
    Netscape Navigatoris a subtopic of Applets2001-10-19 11:37:29.0
    is an instance of Java-compatible Web browseradded by: JK, 2001-10-19 11:37:29.0
    newis a subtopic of Objects2001-10-19 11:37:29.0
    is an instance of keywordadded by: JK, 2001-10-19 11:37:29.0
    see also new operatoradded by: JK, 2001-10-19 11:37:29.0
    new expressionhas example new(Person)added by: DS, 2001-10-19 11:37:29.0
    is a kind of object creation expressionadded by: DS, 2001-10-19 11:37:30.0
    is a subtopic of Objects2001-10-19 11:37:30.0
    new operatorcauses
    1. a new instance of the given class is created
    2. memory is allocated for it
    3. a constructor is called
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:30.0
    has definition An operator that creates a new object (allocates space for it).source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:30.0
    has example Rectangle rect = new Rectangle();source: Sun Java Tutorial, 2001-10-19 11:37:30.0
    has purpose to create a new objectsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:30.0
    is a subtopic of Operators2001-10-19 11:37:30.0
    is a synonym of creation operator2001-10-19 11:36:34.0
    is an instance of operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:30.0
    see also newadded by: JK, 2001-10-19 11:37:30.0
    no-duplication principleis a kind of principle2001-10-19 11:37:30.0
    is a subtopic of Programming2001-10-19 11:37:30.0
    states that instance variables and instance methods should be distributed among class definitions to ensure that there is no needless duplication, otherwise duplicate copies are bound to become gratuitously differentadded by: JK, source: On To Java, 2001-10-19 11:37:30.0
    non-modal dialoghas definition A separate window that the user can choose to interact with, but does not have tosource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:30.0
    is a kind of dialogsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:30.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:30.0
    non-primitive typeis a synonym of reference typeadded by: WH, 2001-10-19 11:37:30.0
    notifyhas specification    2001-10-19 11:37:30.0
    is a subtopic of Example Methods2001-10-19 11:37:30.0
    is an instance of method that is declared in Object class2001-10-19 11:37:30.0
    notifyAllhas specification    2001-10-19 11:37:30.0
    is a subtopic of Example Methods2001-10-19 11:37:30.0
    is an instance of method that is declared in Object class2001-10-19 11:37:30.0
    nullis a kind of named object reference2001-10-19 11:37:31.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:30.0
    represents an invalid or uncreated objectadded by: JK, 2001-10-19 11:37:31.0
    null characteris the default value of a character variableadded by: JK, source: On To Java, 2001-10-19 11:37:31.0
    is a subtopic of Constants2001-10-19 11:37:31.0
    is an instance of charadded by: JK, source: On To Java, 2001-10-19 11:37:31.0
    is an instance of character literaladded by: JK, 2001-10-19 11:37:31.0
    is denoted by '\u000'added by: JK, source: On To Java, 2001-10-19 11:37:31.0
    nulldoes not have a typeadded by: JK, 2001-10-19 11:37:30.0
    Number classhas specification    2001-10-19 11:37:31.0
    is a subtopic of Example Classes2001-10-19 11:37:31.0
    is an instance of abstract classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    numeric expressionhas example x + yadded by: DS, 2001-10-19 11:37:31.0
    is a kind of expressionadded by: DS, 2001-10-19 11:37:31.0
    is a subtopic of Statements and Expressions2001-10-19 11:37:31.0
    is a synonym of arithmetic expression2001-10-19 11:36:04.0
    numeric literalhas example 16.7added by: DS, 2001-10-19 11:37:31.0
    is a kind of literaladded by: DS, 2001-10-19 11:37:31.0
    is a subtopic of Literals2001-10-19 11:37:31.0
    object
    when an object is created
    1. the object's variables are set to default values
    2. the constructor of the object's superclass is invoked
    3. the object's initialization block is invoked
    4. the object's constructor is invoked
    added by: DS, 2001-10-19 11:37:31.0
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    • when an object is not needed any longer
    • the object's space is garbage collected
    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    communicates with other objects by sending and receiving messages    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    has 0 or more instance variablesadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    has 0 or more methods called instance methodsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    has behaviour that is specified by its methods    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    has state that is maintained in its variables    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    has definition A data element in an object-oriented system, which has its own identity, belongs to a particular class, and has behaviour and properties    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:32.0
    has definition A piece of memory that holds data in instance variables and a pointer to its classadded by: DS, reference: Source 2, 2001-10-19 11:37:32.0
    has definition A software bundle of variables and related methodsadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:32.0
    has example of creation String name = new String();added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:32.0
    has part public interfaceadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    hides methods from other objects using the 'private' keywordadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    inherits instance methods and instance variables from
    • the class to which it belongs
    • all that class's superclasses
    added by: JK, source: On To Java, 2001-10-19 11:37:32.0
    is distinct from every other object even if they contain the same data    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:32.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:37:32.0
    is a subtopic of Objects2001-10-19 11:37:32.0
    is a synonym of instance2001-10-19 11:36:55.0
    is created by
    • declaring and initializing it such that it is created whenever execution enters a particular block, or, in the case of an instance variable, when an instance is created, for example:
      String aString = "some text";
    • or by declaring it and initializing it later using the new operator, for example:
      String aString;
      aString = new String("some text");
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:32.0
    shares every instance method of its class with the other instances of its classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    shares its implementation with other instances of its classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    shares one copy of each class variable of its class with the other instances of its class    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    can access all instance variables of all objects of its classadded by: DS, 2001-10-19 11:37:31.0
    can be encapsulated by providing accessor methodsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    can be converted into a string using the toString method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:31.0
    can be referred to by several different variables at the same time    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:31.0
    can be referred to without reference to the instance variables contained in it    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:31.0
    can communicate with every object to which it has access through its public interfaceadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    can convert itself to a string representation using the toString method    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:31.0
    can model    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    can notify other objects that a condition variable has changedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    can receive messages from    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    can represent any entity to which you can associate properties and behaviour    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:32.0
    can return its class using the getClass methodadded by: JK, source: Sun Java `, 2001-10-19 11:37:32.0
    can send messages to    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    can wait on 0 or more condition variablesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:32.0
    Object classhas no superclass because it is at the top of the class hierarchyadded by: JK, source: On To Java, 2001-10-19 11:37:33.0
    has specification    2001-10-19 11:37:33.0
    has definition A class that is at the top of the class hierarchyadded by: JK, reference: Source 2, 2001-10-19 11:37:33.0
    implements some of the behaviour that every class in the Java system needsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    is the most general of all classesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    is a subtopic of Example Classes2001-10-19 11:37:33.0
    is a subtopic of Objects2001-10-19 11:37:33.0
    is an instance of classadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    is defined in java.langadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    object creation expressionhas definition An expression that creates a new objectadded by: JK, reference: Source 2, 2001-10-19 11:37:33.0
    has purpose to create a new objectadded by: JK, 2001-10-19 11:37:33.0
    is a kind of expressionadded by: DS, 2001-10-19 11:37:33.0
    is a subtopic of Objects2001-10-19 11:37:33.0
    object creation statementis a kind of expression statementadded by: DS, 2001-10-19 11:37:33.0
    is a subtopic of Objects2001-10-19 11:37:33.0
    object declarationhas example
    Rectangle rect; 
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    has purpose to declare an object, without actually creating itadded by: JK, 2001-10-19 11:37:33.0
    has syntax
    type name
    where type may be the name of a class or an interface
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    is a kind of declarationadded by: JK, 2001-10-19 11:37:33.0
    is a subtopic of Objects2001-10-19 11:37:33.0
    does not create a new objectadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:33.0
    Object Oriented Programmingis a subtopic of kbTop2001-10-19 11:37:33.0
    object referencehas definition A variable that refers to an object    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:33.0
    has purpose to refer to an object indirectly so the object may be moved or reclaimedadded by: DS, 2001-10-19 11:37:33.0
    is a key into the object tableadded by: DS, 2001-10-19 11:37:33.0
    is a label for a chunk of memory that holds the memory address for a chunk of memory that holds and instanceadded by: JK, source: On To Java, 2001-10-19 11:37:33.0
    is a kind of pointeradded by: JK, 2001-10-19 11:37:34.0
    is a subtopic of Objects2001-10-19 11:37:34.0
    is a synonym of handle2001-10-19 11:36:50.0
    is a synonym of reference2001-10-19 11:37:48.0
    is not accessible to the programmer except for the equals methodadded by: DS, 2001-10-19 11:37:34.0
    to cascade you prepend a class or package names to a reference with the character '.'added by: DS, 2001-10-19 11:37:34.0
    object serializationhas definition The ability to write the complete state of an object (including any objects it refers to) to an output stream, and then recreate that object at some later time by reading its serialized state from an input streamadded by: JK, source: Java in a Nutshell, 2001-10-19 11:37:34.0
    is a kind of mechanism2001-10-19 11:37:34.0
    is a subtopic of Object Serialization2001-10-19 11:37:34.0
    Object Serializationis a subtopic of Objects2001-10-19 11:37:34.0
    object tablehas definition A table that maps object handles to actual addressesadded by: DS, reference: Source 2, 2001-10-19 11:37:34.0
    is a kind of kbTopadded by: DS, 2001-10-19 11:37:34.0
    is a subtopic of How Java Works2001-10-19 11:37:34.0
    object taghas the same attributes as the applet tagadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:34.0
    has example
    <OBJECT CODE="Bix.class" CODEBASE="http:///www.prefect/com/javaclasses" HEIGHT=40 WIDTH=400">
    </OBJECT>
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:34.0
    has purpose to add programs and other external elements to a Web pageadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:34.0
    is a kind of HTML tagadded by: WH, 2001-10-19 11:37:34.0
    is a subtopic of Applets2001-10-19 11:37:34.0
    is supported by as of 2000added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:34.0
    objectto create you use the new operatoradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:33.0
    object variableis a synonym of instance variableadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:34.0
    object-oriented paradigmhas definition An approach to software design and programming in which software is primarily thought of as a collection of classes that each have responsibilities for various operations, and which are instantiated at run time to create objectssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    has feature polymorphism    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    has fundamental units objectssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    is a kind of paradigmsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:35.0
    organizes code into classes that each contain procedures for manipulating instances of that class alonesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    object-oriented programminghas definition A way of conceptualizing a computer program as a set of separate objects that interact with each otheradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:35.0
    is a kind of programmingadded by: JK, 2001-10-19 11:37:35.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:35.0
    mirrors the way objects are assembled in the physical worldadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:35.0
    object-oriented programming languagehas definition A programming language in which each data item with the operations used on it is designated as an object; the routines used to operate on the data item are called methods; and objects are grouped in a hierarchy of classes, with each class inheriting characteristics from the class above itadded by: JK, reference: Source 2, 2001-10-19 11:37:35.0
    has features source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    has features abstraction, modularity and encapsulationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    is a kind of programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:35.0
    Objective-Cis a subtopic of Java History and Related Languages2001-10-19 11:37:34.0
    is an instance of object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:34.0
    Objectsis a subtopic of kbTop2001-10-19 11:37:35.0
    Objects Have Class!: An Introduction to Programming in Javahas author David A. Poplawskisource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    has ISBN number 0-07-242340-4source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    is a subtopic of References2001-10-19 11:37:35.0
    is an instance of booksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    was published by McGraw Hillsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    was published in 2001source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:35.0
    octal integer literalhas example 0777 is the octal number 777added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:36.0
    is a kind of integer literal2001-10-19 11:37:36.0
    is a subtopic of Literals2001-10-19 11:37:36.0
    is indicated by prepending a zero (0) to the numberadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:36.0
    OOis a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:36.0
    is an abbreviation for object orientedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:36.0
    is an instance of abbreviationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:36.0
    OOPis a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:36.0
    is an abbreviation for object-oriented programmingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:36.0
    is an instance of abbreviationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:36.0
    operandhas definition An input to an operatoradded by: JK, source: On To Java, 2001-10-19 11:37:36.0
    is a kind of variable2001-10-19 11:37:36.0
    is a subtopic of Operators2001-10-19 11:37:36.0
    is a synonym of argument of an operator2001-10-19 11:36:04.0
    operationhas definition a higher-level procedural abstraction than a method: It is used to discuss and specify a type of behaviour, independently of any code which implements that behaviour    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:36.0
    is a kind of kbTop2001-10-19 11:37:36.0
    operatorevaluates to its resultadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:36.0
    has precedenceadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:36.0
    has definition A built-in method that works on inputs supplied to it according to the conventions of arithmeticadded by: JK, source: On To Java, 2001-10-19 11:37:36.0
    has definition A symbol used for arithmetic and logical operationsadded by: JK, reference: Source 2, 2001-10-19 11:37:36.0
    has purpose to perform a simple function of 1 to 3 argumentsadded by: DS, 2001-10-19 11:37:36.0
    is a kind of symboladded by: JK, 2001-10-19 11:37:37.0
    is a subtopic of Operators2001-10-19 11:37:36.0
    is evaluated before another operator with lower precedenceadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:36.0
    is part of an expressionadded by: DS, 2001-10-19 11:37:36.0
    is partitioned into arithmetic operator , relational operator, logical operator, bitwise operator, logical operator, assignment operatoradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:36.0
    returns a value called its resultadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:37.0
    operator overloadingis a kind of mechanismadded by: JK, source: On To Java, 2001-10-19 11:37:37.0
    is a subtopic of Operators2001-10-19 11:37:37.0
    is not allowed by the programmer in Java although Java contains built-in overloaded operatorsadded by: JK, source: On To Java, 2001-10-19 11:37:37.0
    Operatorsis a subtopic of Java Basics2001-10-19 11:37:37.0
    order of operator precedenceis Operators at the top take precedence over operators lower in the table. At the same level of the table, operators are evaluated from left to right.
    operatorscomments
    () []Anything in parentheses, including array indexing, is evaluated first
    ++ -- !Unary operators
    * / %Multiplicative operators
    + -Additive binary operators
    > >= < <=Relational comparison operators
    == !=Identity comparison operators
    &&Logical AND
    \Logical OR
    ?:Ternary if-then-else
    = += *= -= /=Assignment
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:37.0
    is a kind of rulesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:37.0
    is a subtopic of Operators2001-10-19 11:37:37.0
    overridden methodhas example of calling
    super.myMethod(a,b) 
      
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:37.0
    is a kind of methodadded by: JK, 2001-10-19 11:37:37.0
    is a subtopic of Inheritance2001-10-19 11:37:37.0
    is a subtopic of Methods2001-10-19 11:37:37.0
    to access you use the 'super' keyword    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:37.0
    overridingis a synonym of method overriding2001-10-19 11:37:37.0
    overriding methodis a kind of methodadded by: JK, 2001-10-19 11:37:38.0
    is a subtopic of Inheritance2001-10-19 11:37:37.0
    is a subtopic of Methods2001-10-19 11:37:37.0
    overshadowingis a synonym of method overridingadded by: WH, 2001-10-19 11:37:38.0
    packagecontains 0 or more classes and 0 or more interfacesadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:38.0
    defines a name space    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    groups classes or interfaces by functionadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:38.0
    has a name2001-10-19 11:37:38.0
    has definition A collection of related classes and interfaces that provides access protection and namespace managementadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:38.0
    has purpose
    • to avoid naming conflicts
    • to control access
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:38.0
    has purpose to group together related classes into a subsystem    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    is a kind of scoping unit2001-10-19 11:37:38.0
    is a subtopic of Packages2001-10-19 11:37:38.0
    is specified by a file that begins with a package statementadded by: DS, 2001-10-19 11:37:38.0
    is stored as a set of class files in a directoryadded by: DS, 2001-10-19 11:37:38.0
    see also package nameadded by: JK, 2001-10-19 11:37:38.0
    can be importedadded by: DS, 2001-10-19 11:37:38.0
    can be imported by using the import statement    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    package declarationis a synonym of package statement2001-10-19 11:37:39.0
    is a synonym of package statementadded by: JK, 2001-10-19 11:37:38.0
    package namehas example
    finance.banking.accounts    
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    has example com.naviseek.Mapplet is found in the naviseek directory which is inside the com directory (com aviseekMapplet.class in other words)added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:37:38.0
    is a kind of namesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    is a subtopic of Packages2001-10-19 11:37:38.0
    is composed of a series of words separated by dots    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    maps to a directory name on the file systemadded by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:37:38.0
    should have the domain name of the organization (with the components inverted) prepended to the package name by convention to assure that each package name is unique in the world    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:38.0
    package statementcontains package information about the class in the source fileadded by: Marvin, 2001-10-19 11:37:38.0
    has definition A statement that declares the name of the package the file definesadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:38.0
    has example
    package com.naviseek.canasta
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:38.0
    has purpose to specify that all classes and interfaces in its file belong to a packagesource: Sun Java Tutorial, 2001-10-19 11:37:39.0
    has purpose to specify the name of the package to which the compilation unit in which the package declaration is put belongsadded by: JK, 2001-10-19 11:37:39.0
    has syntax
    package packageName
    2001-10-19 11:37:39.0
    is a kind of declarationadded by: DS, 2001-10-19 11:37:39.0
    is a kind of statementadded by: JK, 2001-10-19 11:37:39.0
    is a subtopic of Packages2001-10-19 11:37:39.0
    is a synonym of package declaration2001-10-19 11:37:38.0
    is a synonym of package declarationadded by: JK, 2001-10-19 11:37:39.0
    must be the first statement in the source file except for commentsadded by: Marvin, 2001-10-19 11:37:39.0
    must occur at the beginning of a filesource: Sun Java Tutorial, 2001-10-19 11:37:39.0
    packageto create you put a class in it or put an interface in it by putting a package statement at the top of the source file in which the class or interface is definedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:38.0
    to import you use the import statement with the asterisk wildcard characteradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:38.0
    package^2has example package finance.banking.accounts;    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:39.0
    has purpose to declare the package that a class belongs to    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:39.0
    is a subtopic of Packages2001-10-19 11:37:39.0
    is an instance of keywordsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:39.0
    see also package, package statement2001-10-19 11:37:39.0
    Packagesis a subtopic of kbTop2001-10-19 11:37:39.0
    paradigmis a kind of kbTop2001-10-19 11:37:39.0
    parameterhas definition A variable that transmits a primitive datum or object reference to a method or constructoradded by: JK, reference: Source 2, 2001-10-19 11:37:39.0
    has purpose to transmit a primitive datum or object reference to a method or constructoradded by: DS, 2001-10-19 11:37:39.0
    is a kind of variable2001-10-19 11:37:39.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:39.0
    is a synonym of argument2001-10-19 11:36:04.0
    is a synonym of formal parameter2001-10-19 11:36:47.0
    is initialized by calling the method or constructor or exception handleradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:39.0
    is passed by valueadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:39.0
    can have the same name as a member variablecomment: if it does it hides the member variable, added by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:39.0
    parameter declarationhas purpose to declare a parameter2001-10-19 11:37:39.0
    has syntax
    type parameterName
    added by: JK, 2001-10-19 11:37:39.0
    is a kind of declarationadded by: JK, 2001-10-19 11:37:39.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:39.0
    parent classis a synonym of superclassadded by: WH, 2001-10-19 11:37:40.0
    parseInthas specification    2001-10-19 11:37:40.0
    has example
    // converts a String to an int 
    int i = Integer.parseInt(aString);   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    has purpose to convert a String to an int    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    is a member of the wrapper class Integer classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    is a subtopic of Example Methods2001-10-19 11:37:40.0
    is an instance of class methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    part-whole relationhas definition The relation expressed by "has a"added by: JK, source: On To Java, 2001-10-19 11:37:40.0
    has example the Human class would have instance variables for arms and legs because humans have parts arms and legsadded by: JK, source: On To Java, 2001-10-19 11:37:40.0
    is a kind of relation2001-10-19 11:37:40.0
    is a subtopic of Inheritance2001-10-19 11:37:40.0
    platformhas definition The hardware or software environment in which a program runsadded by: JK, reference: Source 2, 2001-10-19 11:37:40.0
    is a kind of environment2001-10-19 11:37:40.0
    is a subtopic of How Java Works2001-10-19 11:37:40.0
    pointerhas definition A variable that is used to store an addressadded by: JK, reference: Source 2, 2001-10-19 11:37:40.0
    is a kind of variableadded by: WH, 2001-10-19 11:37:40.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:40.0
    polymorphic operationhas definition An operation where the program decides, every time an operation is called, which of several identically-named methods to invoke    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    is a kind of operation2001-10-19 11:37:40.0
    polymorphismexists when several classes which each implement the operation either have a common superclass in which the operation exists, or else implement an interface that contains the operationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    gets power from dynamic bindingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:41.0
    has definition A property of object oriented software by which an abstract operation may be performed in different ways in different classes    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:40.0
    has definition The ability to use the same syntax for objects of different typesadded by: JK, reference: Source 2, 2001-10-19 11:37:40.0
    is one of the fundamental features of the object oriented paradigm    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:41.0
    is a kind of mechanismadded by: JK, 2001-10-19 11:37:41.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:41.0
    postfix operatorhas purpose to evaluate the value of the operand and then to perform the operationadded by: JT, source: Sun Java Tutorial, 2001-10-19 11:37:41.0
    is a kind of operatoradded by: JK, 2001-10-19 11:37:41.0
    is a subtopic of Operators2001-10-19 11:37:41.0
    practiceis a kind of kbTop2001-10-19 11:37:41.0
    prefix operatorhas purpose to perform the operation and then to evaluate the value of the operandadded by: JT, source: Sun Java Tutorial, 2001-10-19 11:37:41.0
    is a kind of operatoradded by: JK, 2001-10-19 11:37:41.0
    is a subtopic of Operators2001-10-19 11:37:41.0
    primitive typeevaluates to the value stored in the variableadded by: JK, 2001-10-19 11:37:41.0
    has a corresponding class in the java.lang packageadded by: JK, 2001-10-19 11:37:41.0
    has definition A type where a variable of that type evaluates to the value stored in the variableadded by: JK, reference: Source 2, 2001-10-19 11:37:41.0
    has part primitive type namesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:41.0
    is a kind of typeadded by: JK, 2001-10-19 11:37:41.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:41.0
    is normally used instead of wrapper class instances for arithmetic    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:41.0
    is not an objectadded by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:37:41.0
    primitive type nameis a kind of namesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:41.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:41.0
    starts with a lower-case letter    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:41.0
    primitive valueis a kind of value2001-10-19 11:37:42.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:41.0
    principleis a kind of kbTop2001-10-19 11:37:42.0
    printlnhas specification    2001-10-19 11:37:42.0
    has example
    System.out.println("This line will be printed");    
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    is a subtopic of Example Methods2001-10-19 11:37:42.0
    is an instance of methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    privacyallows changes to code to be more easily made since one can be confident that 'outsiders' are not relying on too many detailssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    improves encapsulation by ensuring that only programmers working inside a class (or inside a package) can use all of its facilitiessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    is a kind of practicesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:42.0
    privatedeclares private accessadded by: WH, 2001-10-19 11:37:42.0
    has definition A keyword that means a variable or method is only accessible within its classadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:42.0
    is a subtopic of Access Control2001-10-19 11:37:42.0
    is an instance of access modifieradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:42.0
    is used to declare private method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    means that a member is only accessible to its classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:42.0
    private accesshas definition The access mode of methods or variables specified by the keyword "private"; access is limited to objects in the same class onlyadded by: JK, source: On To Java, 2001-10-19 11:37:42.0
    is a kind of access modeadded by: JK, 2001-10-19 11:37:42.0
    is a subtopic of Access Control2001-10-19 11:37:42.0
    privatemay not be used when declaring members of an interfacesource: Sun Java Tutorial, 2001-10-19 11:37:42.0
    private methodis a kind of methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    is a subtopic of Methods2001-10-19 11:37:42.0
    is not inherited by subclassesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:42.0
    can only be accessed by code in the same class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
    private variablehas definition A variable declared with the private access modifieradded by: JK, 2001-10-19 11:37:43.0
    is a kind of variable2001-10-19 11:37:43.0
    is not inherited by subclassesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:43.0
    procedural abstractionhas advantage when using a certain procedure, a programmer does not need to worry about all the details of how it performs its computations; he or she only needs to know how to call it and what it computessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    has advantages programs become
    • easier to reuse
    • easier to read
    • easier to debug
    • easier to augment
    • easier to improve
    • easier to adapt
    added by: JK, source: On To Java, 2001-10-19 11:37:43.0
    is a kind of abstractionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:43.0
    procedural paradigmhides many of the details of computationssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    is a kind of paradigm2001-10-19 11:37:43.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:43.0
    organizes code into procedures that each manipulate different types of datasource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    provides procedural abstractionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    works badly if the program's purpose is to perform calculations on complex datasource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    works well if the program's purpose is to perform complex calculations with relatively simple datasource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    procedural programmingis a kind of programmingadded by: JK, 2001-10-19 11:37:43.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:43.0
    reflects the way a computer carries out instructionsadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:43.0
    processis a kind of kbTopadded by: JK, 2001-10-19 11:37:43.0
    is a subtopic of Threads2001-10-19 11:37:43.0
    programis a synonym of Java programadded by: JK, 2001-10-19 11:37:43.0
    program element nameis a kind of namesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    is a subtopic of Programming2001-10-19 11:37:44.0
    can be very long if the length is justified because it adds claritysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:43.0
    should be highly descriptive of the purpose and function of the elementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should not be less than about six characters except perhaps for loop counter variables, where i and j are commonly usedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    programmerchecks for valid generalizations by checking that:
    • superclasses and subclasses have unambiguous names
    • each subclasses retains its distinctiveness throughout its life
    • all the inherited features must make sense in each subclass
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    is responsible for anticipating things that can go wrong and writing exception handling code in preparation    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    is a kind of kbTop2001-10-19 11:37:44.0
    is a subtopic of Programming2001-10-19 11:37:44.0
    can write comments before writing the codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should adhere to object oriented principlessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should apply the 'isa' rule religiouslysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should avoid duplication of codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should avoid over-use of class variables or class methodssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should choose alternative that makes code simpler over more complicated onesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should comment any changes to the code so that it is easy to see what has changed from one version to the nextsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should comment whatever is non-obvious but should not comment obvious things as this adds cluttersource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should consider languages other than Java for number-crunching applicationssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should create several small classes, rather than one big, complex classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should ensure that anything that is true in a superclass is also true in its subclassessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should follow consistent guidelines that make programs easy to read when writing programssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should follow the specific conventions for commenting classes and methods that allow for documentation to be automatically generated using a program called 'javadoc'source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should group classes into logical sections with a clear comment separating each section if a class has many methodssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should keep related methods together inside a classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should keep the number of instance variables small. If this number exceeds 10, then consider splitting the class into separate classes - e.g. a superclass and a subclasssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should learn about about the different programming strategies that make a Java program run fastersource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should not use tab characters in code - use two spaces for indentation instead because when code is printed on certain printers, or displayed in certain editors, the width of the indentation resulting from the tab can vary and make the code hard to readsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should pay attention to to the documentation describing which features of Java are deprecatedsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should reject 'clever' or 'cool' coding techniques unless they make the code simpler to understandsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should remember that shorter code is not necessarily better code but unnecessarily long code is also badsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should restructure code to make it simpler if necessarysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should take advantage of polymorphism, inheritance, abstract classes, and methodssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should use consistent code layout stylesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    should write comments at the same time as writing code , and perhaps even before writing the codesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:44.0
    programmer-created exception classis a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    is a kind of exceptionsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    is a subtopic of Exception Handling2001-10-19 11:37:45.0
    programmingis a kind of kbTopadded by: JK, 2001-10-19 11:37:45.0
    Programmingis a subtopic of kbTop2001-10-19 11:37:45.0
    programming environmentis a kind of toolsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    is a subtopic of Java Tools2001-10-19 11:37:45.0
    programming languageis a kind of kbTop2001-10-19 11:37:45.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:45.0
    Programming Pearlshas author J. Bentleysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    has ISBN number 0-201-65788-0source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    is a subtopic of References2001-10-19 11:37:45.0
    is an instance of booksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    was published by Addison-Wesleysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    was published in 2000source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    progress baris a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:45.0
    protecteddeclares protected accessadded by: WH, 2001-10-19 11:37:45.0
    has definition A keyword that indicates that a method or variable may be accessed by any object in the same class (and its subclasses including those in a different compilation unit in another package), by all objects in the same compilation unit, and by all objects in the same packageadded by: JK, source: On To Java, 2001-10-19 11:37:45.0
    is a subtopic of Access Control2001-10-19 11:37:45.0
    is an instance of access modifieradded by: JK, 2001-10-19 11:37:45.0
    is used to declare protected method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:45.0
    protected accesshas definition The access mode of methods or variables specified by the keyword "private"; access is limited to objects in the same class (and subclasses in any package), in the same compilation unit, and in the same packageadded by: JK, source: On To Java, 2001-10-19 11:37:46.0
    is a kind of access modeadded by: JK, 2001-10-19 11:37:46.0
    is a subtopic of Access Control2001-10-19 11:37:46.0
    protectedmay not be used when declaring members of an interfacesource: Sun Java Tutorial, 2001-10-19 11:37:46.0
    protected methodis a kind of methodadded by: JK, 2001-10-19 11:37:46.0
    is a subtopic of Methods2001-10-19 11:37:46.0
    can be accessed by code in the same package as this class as well as code in any subclasses, even if they are not in the same package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:46.0
    can be overridden by public method in subclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:46.0
    cannot be overridden by private method in subclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:46.0
    must be protected or public in all subclassesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:46.0
    publicdeclares public accessadded by: WH, 2001-10-19 11:37:46.0
    has definition A keyword that indicates that a method, class or variable may be accessed by any objectadded by: DS, source: Sun Java Tutorial, modified by: JK, reference: Source 2, 2001-10-19 11:37:46.0
    is a subtopic of Access Control2001-10-19 11:37:46.0
    is an instance of access modifiersource: Sun Java Tutorial, 2001-10-19 11:37:46.0
    is used to declare a public class, public method or public variable    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:46.0
    modifies methods, classes, and variables2001-10-19 11:37:46.0
    public accesshas definition The access mode of classes, methods or variables specified by the keyword "public"; access is granted to any objectadded by: JK, source: On To Java, 2001-10-19 11:37:46.0
    is a kind of access modeadded by: JK, 2001-10-19 11:37:46.0
    is a subtopic of Access Control2001-10-19 11:37:46.0
    public classis a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:47.0
    is a subtopic of Classes2001-10-19 11:37:46.0
    can be accessed from outside its package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:46.0
    public interfacehas definition A class's public instance variables and public instance methods which are accessible to objects outside the classadded by: JK, source: On To Java, 2001-10-19 11:37:47.0
    is a kind of kbTopadded by: JK, source: On To Java, 2001-10-19 11:37:47.0
    is a subtopic of Classes2001-10-19 11:37:47.0
    public member of a packageis a kind of member of a packageadded by: JK, 2001-10-19 11:37:47.0
    is a subtopic of Packages2001-10-19 11:37:47.0
    to use from outside its package you canadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:47.0
    public methodis a kind of methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:47.0
    is a subtopic of Methods2001-10-19 11:37:47.0
    is inherited by subclassesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:47.0
    can be accessed by any code anywhere    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:47.0
    must be public in all subclassesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:47.0
    public variablehas definition A variable declared with the public access modifieradded by: JK, 2001-10-19 11:37:47.0
    is a kind of variable2001-10-19 11:37:47.0
    is inherited by subclassesadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:47.0
    publicationis a kind of kbTopadded by: JK, 2001-10-19 11:37:47.0
    reading from a filehas syntax
    //Instantiate a stream, reader and tokenizer
    FileInputStream streamVariableName = new FileInputStream(fileNameOrPath);
    InputStreamReader readerVariableName = new InputStreamReader(streamVariableName);
    StreamTokenizer tokenVariableName = new StreamTokenizer(readerVariableName);
    //Read from the tokenizer until it is empty
    while(tokenVariableName.nextToken() != tokenVariableName.TT_EOF) {
    ...
    }
    //Close the file
    streamVariableName.close();
    added by: JK, source: On To Java, 2001-10-19 11:37:47.0
    is a kind of actionadded by: JK, 2001-10-19 11:37:48.0
    is a subtopic of Input and Output2001-10-19 11:37:48.0
    recursionhas definition A mechanism in which a method calls itselfadded by: JK, source: On To Java, 2001-10-19 11:37:48.0
    is a kind of mechanismadded by: JK, source: On To Java, 2001-10-19 11:37:48.0
    is a subtopic of Methods2001-10-19 11:37:48.0
    recursive methodhas definition A method that calls itself    added by: JK, source: On To Java, 2001-10-19 11:37:48.0
    has example
    //Recursive method to compute the nth power of 2

    public static int recursivePowerOf2 (int n) {
    if (n == 0) {
    return 1;
    }
    else {
    return 2 * recursivePowerOf2(n-1);
    }
    }   
    added by: JK, source: On To Java, 2001-10-19 11:37:48.0
    is a kind of methodadded by: JK, source: On To Java, 2001-10-19 11:37:48.0
    is a subtopic of Methods2001-10-19 11:37:48.0
    uses recursionadded by: JK, source: On To Java, 2001-10-19 11:37:48.0
    works by calling itself to solve a subproblem until the subproblem is simple enough to solve directly    added by: JK, source: On To Java, 2001-10-19 11:37:48.0
    referenceis a synonym of object reference2001-10-19 11:37:48.0
    reference typeevaluates to the address of the location in memory where the object referenced by the variable is storedadded by: JK, 2001-10-19 11:37:48.0
    has default value null - a value that indicates that there is no instance assigned to the variableadded by: JK, source: On To Java, 2001-10-19 11:37:48.0
    has definition A type where a variable of that type evaluates to the address of the location in memory where the object referenced by the variable is storedadded by: DS, reference: Source 2, 2001-10-19 11:37:48.0
    has name starting with a capital letter    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:48.0
    is a kind of typeadded by: JK, 2001-10-19 11:37:48.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:48.0
    is a synonym of non-primitive type2001-10-19 11:37:30.0
    is partitioned into array type, class type , interface typeadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:48.0
    Referencesis a subtopic of kbTop2001-10-19 11:37:48.0
    relationis a kind of kbTop2001-10-19 11:37:48.0
    relational operatoris a kind of operator2001-10-19 11:37:49.0
    is a subtopic of Operators2001-10-19 11:37:48.0
    restricting accesscontrols access to methods, instance variables and class variables    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:49.0
    has advantages
    • makes code easier to understand and change
    • makes designs more flexible
    • reduces coupling
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:49.0
    is a kind of practicesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:49.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:49.0
    is part of encapsulationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:49.0
    return statementhas purpose to exit from the current method and jump back to the statement within the calling method that follows the original method calladded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    has syntax
    return expression
    added by: JK, 2001-10-19 11:37:49.0
    has type that is the return type of the method or a subtype of itadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    is a kind of control flow statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    is a subtopic of Methods2001-10-19 11:37:49.0
    return statement that does not return a valuehas example
    return;
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    is a kind of return statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    is a subtopic of Methods2001-10-19 11:37:49.0
    return statement that returns a valuehas example
    return count; 
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    is a kind of return statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    is a subtopic of Methods2001-10-19 11:37:49.0
    return type of overriding methodis a kind of typeadded by: JK, 2001-10-19 11:37:50.0
    is a subtopic of Inheritance2001-10-19 11:37:49.0
    is a subtopic of Methods2001-10-19 11:37:49.0
    is the same as the return type of the overridden methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:49.0
    reusehas definition The practice of using the same code or design in more than one placesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:50.0
    is a kind of practicesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:50.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:50.0
    ruleis a kind of principle2001-10-19 11:37:50.0
    Runnableabstracts the concept of something that will execute code while it is activeadded by: JK, source: the Java Programming Language, 2001-10-19 11:37:50.0
    has specification    2001-10-19 11:37:50.0
    is a subtopic of Example Interfaces2001-10-19 11:37:50.0
    is a subtopic of Threads2001-10-19 11:37:50.0
    is an instance of interfaceadded by: JK, source: the Java Programming Language, 2001-10-19 11:37:50.0
    runtime system 2001-10-19 11:37:50.0
    allocates each class variable once per classadded by: DS, source: Sun Java Tutorial, comment: regardless of the number of instances created of that class, 2001-10-19 11:37:50.0
    creates space for each of an object's instance variables when the object is createdadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    has definition The software environment in which programs compiled for the Java virtual machine can runadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:50.0
    has part an implementation of the Java Virtual Machine specification which may be a Java interpreteradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    has part class librariesadded by: DS, 2001-10-19 11:37:50.0
    has purpose to dynamically link native methodsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    has purpose to handle exceptionsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    has purpose to load programs written in the Java programming languageadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    has purpose to manage memoryadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    imports automatically added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:50.0
    is a subtopic of How Java Works2001-10-19 11:37:50.0
    is an instance of environmentadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:51.0
    scopehas definition The region of a source text over which a declaration holdsadded by: DS, reference: Source 2, 2001-10-19 11:37:51.0
    is a kind of kbTopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    Scopeis a subtopic of Java Basics2001-10-19 11:37:51.0
    scopeis a subtopic of Scope2001-10-19 11:37:51.0
    scope of a class variableis a kind of scope of a variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    is a subtopic of Scope2001-10-19 11:37:51.0
    is defined by the public, private and protected keywords    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    scope of a instance variableis a kind of scope of a variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    is a subtopic of Scope2001-10-19 11:37:51.0
    is defined by the public, private and protected keywords    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    scope of a variableconsists of the parts of the source code in which reference to the variable can be made    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    has definition The block of code within which the variable is accessible and determines when the variable is created and destroyedadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:51.0
    is a kind of scopeadded by: JK, 2001-10-19 11:37:51.0
    is a subtopic of Scope2001-10-19 11:37:51.0
    is defined by location of the variable declaration within your programadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:51.0
    scope of a variable defined in a blockis a kind of scope of a variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    is a subtopic of Scope2001-10-19 11:37:51.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:51.0
    is defined by the start and end of the block    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:51.0
    scoping unithas definition A syntactic unit that defines a scope (the region of a source text over which a declaration holds)added by: DS, reference: Source 2, 2001-10-19 11:37:51.0
    is a kind of syntactic unitadded by: DS, 2001-10-19 11:37:51.0
    is a subtopic of Scope2001-10-19 11:37:51.0
    scripting languageis a kind of programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:52.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:52.0
    scroll baris a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:52.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:37:52.0
    SDKis a subtopic of Java Tools2001-10-19 11:37:52.0
    is an abbreviation for Software Development Kitadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:52.0
    is an instance of abbreviationadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:52.0
    Serializableallows reading and writing of objects to filesadded by: JK, source: On To Java, 2001-10-19 11:37:52.0
    has specification    2001-10-19 11:37:52.0
    is a subtopic of Example Interfaces2001-10-19 11:37:52.0
    is a subtopic of Object Serialization2001-10-19 11:37:52.0
    is an instance of interfaceadded by: JK, source: On To Java, 2001-10-19 11:37:52.0
    is implemented by Vector classadded by: JK, source: On To Java, 2001-10-19 11:37:52.0
    serverhas definition An application that serves clients on a networkadded by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:52.0
    is a kind of applicationadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:52.0
    supports clients on a networkadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:52.0
    set methodhas definition a method that assigns a value to an instance variableadded by: JK, source: On To Java, 2001-10-19 11:37:52.0
    has definition A method which changes the state of an objectcomment: applies to the state of a class too?, added by: WH, source: T24e Glossary, 2001-10-19 11:37:52.0
    is a kind of accessor methodadded by: WH, 2001-10-19 11:37:52.0
    is a subtopic of Methods2001-10-19 11:37:52.0
    is a synonym of mutator2001-10-19 11:37:27.0
    is a synonym of setter2001-10-19 11:37:53.0
    is named using "set" in its name by conventionadded by: JK, source: On To Java, 2001-10-19 11:37:52.0
    set method namecontains the word "set" by conventionadded by: JK, source: On To Java, 2001-10-19 11:37:53.0
    has example setHoursadded by: JK, source: On To Java, 2001-10-19 11:37:53.0
    is a kind of method name2001-10-19 11:37:53.0
    is a subtopic of Methods2001-10-19 11:37:53.0
    setteris a synonym of set methodadded by: WH, 2001-10-19 11:37:53.0
    shadowingis a synonym of method overridingadded by: JK, source: On To Java, 2001-10-19 11:37:53.0
    shift operatoris a kind of bitwise operatoradded by: JK, 2001-10-19 11:37:53.0
    is a subtopic of Operators2001-10-19 11:37:53.0
    shortis a kind of integeradded by: DS, 2001-10-19 11:37:53.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:53.0
    see also short^22001-10-19 11:37:53.0
    see also short^32001-10-19 11:37:53.0
    short circuit operatoris a kind of operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:53.0
    is a subtopic of Operators2001-10-19 11:37:53.0
    short nameis a synonym of simple nameadded by: JK, 2001-10-19 11:37:53.0
    short^2is a subtopic of Variables and Data Types2001-10-19 11:37:53.0
    is an instance of integer^2added by: DS, 2001-10-19 11:37:53.0
    requires 16 bits    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:53.0
    see also short2001-10-19 11:37:53.0
    see also short^32001-10-19 11:37:53.0
    stores an integer    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:53.0
    can hold a value between -32,768 and 32,767added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:37:53.0
    short^3has purpose to indicate that a variable is of type short2001-10-19 11:37:53.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:53.0
    is an instance of keyword2001-10-19 11:37:54.0
    see also short2001-10-19 11:37:54.0
    see also short^22001-10-19 11:37:54.0
    simple class namebegins with an uppercase letteradded by: DS, source: Sun Java Tutorial, comment: by convention, 2001-10-19 11:37:54.0
    has example
    String 
    2001-10-19 11:37:54.0
    is a kind of class nameadded by: JK, 2001-10-19 11:37:54.0
    is a kind of simple nameadded by: JK, 2001-10-19 11:37:54.0
    is a subtopic of Classes2001-10-19 11:37:54.0
    is a subtopic of Packages2001-10-19 11:37:54.0
    simple name added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:54.0
    is a kind of nameadded by: JK, 2001-10-19 11:37:54.0
    is a subtopic of Packages2001-10-19 11:37:54.0
    is a synonym of short name2001-10-19 11:37:53.0
    see also fully qualified nameadded by: JK, 2001-10-19 11:37:54.0
    simple programis easier to change than a complicated programsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:54.0
    is a kind of Java programsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:54.0
    is a subtopic of Programming2001-10-19 11:37:54.0
    saves money because software developers are more likely to notice defectssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:54.0
    should not be used when simplification requires a significant drop in efficiencysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:54.0
    simple variable namebegins with a lowercase letteradded by: DS, source: Sun Java Tutorial, comment: by convention, 2001-10-19 11:37:54.0
    is a kind of simple nameadded by: JK, 2001-10-19 11:37:54.0
    is a kind of variable nameadded by: JK, 2001-10-19 11:37:54.0
    is a subtopic of Packages2001-10-19 11:37:54.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:54.0
    cannot be the same as the name of another variable in its scopeadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:54.0
    Simula-67is a subtopic of Java History and Related Languages2001-10-19 11:37:55.0
    is an instance of object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    was the first object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    was designed to allow programmers to write programs that simulate the way objects in the real world behavesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    single inheritancehas definition Inheritance from only one superclassadded by: JK, 2001-10-19 11:37:55.0
    is a kind of inheritancesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    is a subtopic of Inheritance2001-10-19 11:37:55.0
    results in simpler systems than multiple inheritance    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    sleephas purpose to pause a thread for a specified timeadded by: JK, source: On To Java, 2001-10-19 11:37:55.0
    has syntax
    try{sleep(time in milliseconds);}
    catch (InterruptedException e) {return;}
    added by: JK, source: On To Java, 2001-10-19 11:37:55.0
    is a member of Thread class2001-10-19 11:37:55.0
    is a subtopic of Threads2001-10-19 11:37:55.0
    is an instance of instance method2001-10-19 11:37:55.0
    Smalltalkis a subtopic of Java History and Related Languages2001-10-19 11:37:55.0
    is an instance of object-oriented programming languagesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    uses a virtual machine    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:55.0
    Software Development Kitcontains command line programs including
    • a compiler
    • an interpreter
    • the appletviewer
    • a file archiver
    • other programs
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    has different versions for different platforms such as Windows 95, Windows 98, Windows 2000 and Windows NTadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    has version numberadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    is free    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    is a kind of Java development tooladded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:55.0
    is a subtopic of Java Tools2001-10-19 11:37:55.0
    Software Development Kit 1.3goes with Java 2added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    is a subtopic of Java History and Related Languages2001-10-19 11:37:56.0
    is a subtopic of Java Tools2001-10-19 11:37:56.0
    is an instance of Software Development Kitadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:56.0
    Software Development Kitcan be downloaded from Sun    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:55.0
    source codehas definition Code that is written by a personadded by: DS, reference: Source 2, 2001-10-19 11:37:56.0
    has part commentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    is a kind of codeadded by: JK, 2001-10-19 11:37:56.0
    is a subtopic of How Java Works2001-10-19 11:37:56.0
    is interpreted    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    is stored in files ending with the .java suffix    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    can be written in a text editor such as Notepad (on Windows), emacs (on UNIX) or SimpleText (on Macintosh)added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:56.0
    cannot always be made completely obvious without commentssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    must be placed inside a class    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    should be written in lines no longer than 80 characters so that readers do not have to scroll right, and so that the code always prints correctlysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    should consist of between about 25% and 50% commentssource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    should use consistent code layout principlesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    source file added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:56.0
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:56.0
    has definition A file that contains source codeadded by: JK, reference: Source 2, 2001-10-19 11:37:56.0
    has example the file called Demonstrate.java contains the class Demonstrateadded by: JK, source: On To Java, 2001-10-19 11:37:56.0
    has extension .javaadded by: JK, source: On To Java, 2001-10-19 11:37:56.0
    is a kind of fileadded by: JK, 2001-10-19 11:37:56.0
    is a subtopic of How Java Works2001-10-19 11:37:56.0
    can use the import statement to use the facilities of another package    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    may contain added by: Doug, 2001-10-19 11:37:56.0
    may contain more that one class but only one class can be publicadded by: JK, source: On To Java, 2001-10-19 11:37:56.0
    should be in a directory whose name reflects the name of the package to which the source code belongsadded by: JK, modified by: WH, source: Sun Java Tutorial, comment: the source file may be located anywhere, provided its location is specified explicitly or it is found in the source path, 2001-10-19 11:37:56.0
    should declare the package to which its class belongs using the package keyword    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:56.0
    specificationhas definition A detailed precise presentation of something or of a plan or proposal for somethingadded by: JK, source: Webster's dictionary, reference: Source 2, 2001-10-19 11:37:56.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:37:57.0
    standalone programis a kind of Java programadded by: JK, source: On To Java, 2001-10-19 11:37:57.0
    is a subtopic of How Java Works2001-10-19 11:37:57.0
    is started by the Java virtual machine performing the computations in the main methodadded by: JK, source: On To Java, 2001-10-19 11:37:57.0
    must contain a class that defines a main methodadded by: JK, source: On To Java, 2001-10-19 11:37:57.0
    statehas definition How something is; its configuration, attributes, condition, or information contentadded by: JK, reference: Source 2, 2001-10-19 11:37:57.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:37:57.0
    is a subtopic of Object Oriented Programming Concepts2001-10-19 11:37:57.0
    is represented by 1 or more member variableadded by: JK, source: Sun Java Tutorial, question: do we have state of a class?, 2001-10-19 11:37:57.0
    statementhas definition A syntactic unit that defines a step in the execution of a programadded by: DS, reference: Source 2, 2001-10-19 11:37:57.0
    is a kind of syntactic unitadded by: DS, 2001-10-19 11:37:57.0
    is a subtopic of Statements and Expressions2001-10-19 11:37:57.0
    is terminated by a semicolon    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:57.0
    should be not more than one line long if possiblesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:57.0
    Statements and Expressionsis a subtopic of Java Basics2001-10-19 11:37:57.0
    statichas definition A keyword that means a variable or method belongs to the class and not to the instancesadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:57.0
    has purpose to indicate that a variable or method belongs to the class and not to the instancesadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:58.0
    is a subtopic of Members2001-10-19 11:37:58.0
    is a subtopic of Methods2001-10-19 11:37:58.0
    is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:58.0
    is used to mark a class variable or class method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:58.0
    static bindingapplies to files and static membersadded by: WH, source: T24e Glossary, 2001-10-19 11:37:58.0
    has definition A mechanism by which the compiler determines which method implementation to use in advance, based on the type of the reference (regardless of the actual class of the object)added by: WH, source: T24e Glossary, 2001-10-19 11:37:58.0
    is a kind of binding2001-10-19 11:37:58.0
    is a subtopic of How Java Works2001-10-19 11:37:58.0
    static fieldis a synonym of class variableadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:58.0
    static initialization blockhas purpose to be executed when the class loader loads the classadded by: JT, 2001-10-19 11:37:58.0
    is a kind of initialization blockadded by: DS, 2001-10-19 11:37:58.0
    is a subtopic of Classes2001-10-19 11:37:58.0
    static memberis a synonym of class memberadded by: WH, 2001-10-19 11:37:58.0
    static member variableis a synonym of class variableadded by: JK, 2001-10-19 11:37:58.0
    static methodis a synonym of class method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:58.0
    static variableis a synonym of class variable    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:58.0
    streamhas definition A sequence of objectsadded by: JK, source: On To Java, 2001-10-19 11:37:58.0
    is a kind of kbTopadded by: JK, source: On To Java, 2001-10-19 11:37:58.0
    is a subtopic of Objects2001-10-19 11:37:58.0
    stringallows access to its characters using the charAt method as in:
    stringName.charAt(index)
    added by: JK, source: On To Java, 2001-10-19 11:37:59.0
    consists of a collection of characters    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:59.0
    has zero-based indexingadded by: JK, source: On To Java, 2001-10-19 11:37:59.0
    is an instance of the String classadded by: JK, source: On To Java, 2001-10-19 11:37:59.0
    is a kind of object2001-10-19 11:37:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:59.0
    is not an array of characters like in C and C++added by: JK, source: On To Java, 2001-10-19 11:37:59.0
    see also String classadded by: JK, 2001-10-19 11:37:59.0
    can return the number of characters it contains using the length() method as in:
    stringName.length()
    added by: JK, source: On To Java, 2001-10-19 11:37:59.0
    cannot have characters added, deleted or insertedadded by: JK, source: On To Java, 2001-10-19 11:37:59.0
    String classhas specification    2001-10-19 11:37:59.0
    is a subtopic of Collections2001-10-19 11:37:59.0
    is a subtopic of Example Classes2001-10-19 11:37:59.0
    is a subtopic of Strings2001-10-19 11:37:59.0
    is a subtopic of Variables and Data Types2001-10-19 11:37:59.0
    is an instance of collection classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:59.0
    is an instance of final class    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:59.0
    see also stringadded by: JK, 2001-10-19 11:37:59.0
    uses zero-based indexingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:59.0
    string constantis a kind of constantsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:59.0
    is a subtopic of Constants2001-10-19 11:37:59.0
    is a subtopic of Strings2001-10-19 11:37:59.0
    is defined by placing it in double quotes    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:59.0
    string creation expressionhas example "a" + "b" (creation is performed at run time)added by: DS, 2001-10-19 11:37:59.0
    is a kind of object creation expressionadded by: DS, 2001-10-19 11:38:00.0
    is a subtopic of Statements and Expressions2001-10-19 11:37:59.0
    is a subtopic of Strings2001-10-19 11:37:59.0
    string literalhas definition A string of characters between double quotation marksadded by: JK, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:38:00.0
    has example "Hello world!" (created at compile time)2001-10-19 11:38:00.0
    is a kind of literaladded by: JK, 2001-10-19 11:38:00.0
    is a kind of object creation expressionadded by: DS, 2001-10-19 11:38:00.0
    is a subtopic of Literals2001-10-19 11:38:00.0
    is a subtopic of Strings2001-10-19 11:38:00.0
    is a synonym of literal string2001-10-19 11:37:16.0
    stringto concatenate you use the + operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:59.0
    Stringsis a subtopic of Java Basics2001-10-19 11:38:00.0
    subclass added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    has definition A class that is an extension of another class, and hence inherits from the other classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:00.0
    has example of creation
    public class Movie extends Attraction
    added by: JK, source: On To Java, 2001-10-19 11:38:00.0
    inherits 0 or more methods from its superclass and all of its ancestorsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    inherits 0 or more variables from its superclass and all of its ancestorsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    inherits all instance variables and methods defined in its ancestor classes    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:00.0
    inherits all package members of its ancestorsadded by: JT, 2001-10-19 11:38:00.0
    inherits all protected members of its ancestorsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    inherits all public members of its ancestorsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:01.0
    inherits none, some or all of its behaviour from all its ancestorsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:01.0
    inherits none, some or all of its state from all its ancestorsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:01.0
    is a kind of descendentadded by: JK, source: Sun Java Tutorial, modified by: WH, 2001-10-19 11:38:01.0
    is a subtopic of Classes2001-10-19 11:38:01.0
    is created using the extends keyword    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:01.0
    can access hidden member variables using the keyword superadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    can access overridden methods using the keyword superadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    can hide an inherited member variable by declaring a member variable with the same nameadded by: JT, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    can override an inherited method by defining a method with the same signatureadded by: JT, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    can use any member that is inheritedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    cannot be defined until its direct superclass has been definedadded by: JK, source: On To Java, 2001-10-19 11:38:00.0
    cannot override any class method (a method that is declared static in the superclass)added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    cannot override any method that is declared final in the superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    does not inherit constructoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    does not inherit the private members of its superclassadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:00.0
    subclass-superclass relationhas definition The relation expressed by "is a"added by: JK, source: On To Java, 2001-10-19 11:38:01.0
    has example the Human class would be a subclass of the Animal class because a human "is a" animaladded by: JK, source: On To Java, 2001-10-19 11:38:01.0
    is a kind of relation2001-10-19 11:38:01.0
    is a subtopic of Classes2001-10-19 11:38:01.0
    is a subtopic of Inheritance2001-10-19 11:38:01.0
    subclassinghas definition The process of creating a new class that inherits from an existing classadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:01.0
    is a kind of processadded by: JK, 2001-10-19 11:38:01.0
    is a subtopic of Classes2001-10-19 11:38:01.0
    substringhas specification    2001-10-19 11:38:01.0
    has arguments starting position and ending position + 1    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:01.0
    has example
     String sub = "submariner".substring(0,3);  // = "sub"    
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:01.0
    has purpose to extract part of a string    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:01.0
    has result a new String with a sequence of characters from the original string    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:01.0
    is a subtopic of Example Methods2001-10-19 11:38:01.0
    is a subtopic of Strings2001-10-19 11:38:01.0
    is an instance of methodsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:01.0
    Sunhas URL: http://java.sun.com    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:02.0
    is a kind of companyadded by: JK, 2001-10-19 11:38:02.0
    is a subtopic of Java History and Related Languages2001-10-19 11:38:02.0
    Sun Forte for Javais a subtopic of Java Tools2001-10-19 11:38:02.0
    is an instance of programming environmentadded by: JK, 2001-10-19 11:38:02.0
    superhas definition A Java language keyword that allows a method to refer to hidden variables and overridden methods of the superclassadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:38:02.0
    has definition A keyword that refers to the superclass of an objectadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:38:02.0
    has example
    //Example of a constructor that explicitly calls a constructor in the superclass using the keyword super
    public Movie(int m)}
    super(m);
    ...
    }
    added by: JK, source: On To Java, 2001-10-19 11:38:02.0
    has purpose added by: Doug, 2001-10-19 11:38:02.0
    has syntax
    super.variableOrMethodNameInSuperclass
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:02.0
    is a subtopic of Classes2001-10-19 11:38:02.0
    is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:02.0
    superclasshas 1 or more subclasses called its descendant(s)added by: JK, 2001-10-19 11:38:02.0
    has definition A class of which another class is an extension, and hence defines properties that are inherited by the other classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:02.0
    has definition A class's direct ancestoradded by: DS, reference: Source 2, 2001-10-19 11:38:02.0
    is a kind of ancestoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:02.0
    is a subtopic of Classes2001-10-19 11:38:02.0
    is a synonym of parent class2001-10-19 11:37:40.0
    Swing componentis a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:02.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:38:02.0
    switch-case statementhas example
    int month;
    switch (month) {
    case 1: System.out.println("January"); break;
    case 2: System.out.println("February"); break;
    case 3: System.out.println("March"); break;
    default: System.out.println("Not January, February or March"
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:02.0
    has purpose to execute one of a choice of statements depending on the value of a variableadded by: JK, 2001-10-19 11:38:02.0
    has syntax
    switch(integer producing expression)
    {
    case integer constant 1:
    // statements to execute for integer 1
    break;
    case integer constant 2:
    // statements to execute for integer 2
    break;
    ...
    default:
    // statements to execute if none of the above is true
    break;
    }
    added by: JK, source: On To Java, 2001-10-19 11:38:02.0
    is a kind of decision making statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:03.0
    is a kind of decision making statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:03.0
    is a subtopic of Loops and Decision Making2001-10-19 11:38:02.0
    is a synonym of case statement2001-10-19 11:36:16.0
    can be avoided by using polymorphism    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:02.0
    can omit the keyword default and the default statements if they are not neededadded by: JK, source: On To Java, 2001-10-19 11:38:02.0
    symbolhas definition A character or string of characters that represents or stands for something elseadded by: JK, reference: Source 2, 2001-10-19 11:38:03.0
    is a kind of syntactic unitadded by: JK, 2001-10-19 11:38:03.0
    synchronizationhas definition A mechanism to guarantee that only one thread can access an object at a timesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:03.0
    has purpose to avoid problems that can arise when two threads can both modify the same object at the same time    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:03.0
    is a kind of mechanism    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:03.0
    is a subtopic of Threads2001-10-19 11:38:03.0
    see also synchronized2001-10-19 11:38:03.0
    synchronizedindicates that the method modifies the internal state of the class or the internal state of an instance of the class in a way that is not thread-safeadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:03.0
    is a subtopic of Threads2001-10-19 11:38:03.0
    is an instance of keywordadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:03.0
    modifies class or instance methodadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:03.0
    see also synchronization2001-10-19 11:38:03.0
    see also synchronized instance method, synchronized class methodadded by: JK, 2001-10-19 11:38:03.0
    synchronized class methodis a kind of class methodadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:03.0
    is a subtopic of Threads2001-10-19 11:38:03.0
    does not run until Java obtains a lock on the class to ensure that no other threads can be modifying the class concurrentlyadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:03.0
    synchronized instance methodhas example Only one thread will be allowed inside this method at once
    public synchronized void countMe() {
    crucialValue += 1;
    }
    added by: JK, source: Teach Yourself Java in 21 Days, 2001-10-19 11:38:03.0
    is a kind of instance methodadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:04.0
    is a subtopic of Threads2001-10-19 11:38:03.0
    does not run until Java obtains a lock on the instance that invoked the method, ensuring that no other thread can be modifying the object at the same timeadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:03.0
    synonymhas definition One of two or more words or expressions that have the same meaningadded by: JK, reference: Source 2, 2001-10-19 11:38:04.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:38:04.0
    syntactic unithas definition A part of a program to which a syntax rule appliesreference: Source 2, 2001-10-19 11:38:04.0
    has syntax rule
    bold = mandatory
    italic = non-terminal
    normal font = optional
    added by: JK, 2001-10-19 11:38:04.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:38:04.0
    Systemhas definition A class that is part of the API of Java and which provides system-independent access to system-dependent functionality    added by: JK, reference: Source 2, 2001-10-19 11:38:04.0
    has purpose to provide system-independent access to system-dependent functionalityadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:04.0
    is a subtopic of Example Classes2001-10-19 11:38:04.0
    is a subtopic of How Java Works2001-10-19 11:38:04.0
    is an instance of classadded by: DS, 2001-10-19 11:38:04.0
    is imported automatically into every programadded by: DS, 2001-10-19 11:38:04.0
    is part of java.langadded by: DS, 2001-10-19 11:38:04.0
    is part of the API of the Java programming languageadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:04.0
    tab characteris a subtopic of Literals2001-10-19 11:38:04.0
    is an instance of charadded by: JK, source: On To Java, 2001-10-19 11:38:04.0
    is an instance of character literaladded by: JK, 2001-10-19 11:38:04.0
    is denoted by ' 'added by: JK, source: On To Java, 2001-10-19 11:38:04.0
    terminal input and outputhas example
    //Print
    System.out.println("This line will be printed");
    //Read from the keyboard
    byte[] buffer = new byte[1024];
    System.in.read(buffer);
    String theInput = new String(buffer).trim();
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:04.0
    is a kind of kbTopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:04.0
    is a subtopic of Input and Output2001-10-19 11:38:04.0
    tertiary operatorhas definition An operator that has 3 argumentsadded by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:38:04.0
    is a kind of operatoradded by: JK, 2001-10-19 11:38:05.0
    is a subtopic of Operators2001-10-19 11:38:04.0
    The Java Lobbyhas URL http://www.javalobby.org    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    is a subtopic of References2001-10-19 11:38:05.0
    is an instance of web sitesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    The Java Programming Languagehas author Ken Arnold, James Gosling, David Holmessource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    has ISBN number 0-201-70433-1source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    is a subtopic of References2001-10-19 11:38:05.0
    is an instance of booksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    was published by Addison-Wesleysource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    was published in 2000source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    The Java Tutorialhas URL http://java.sun.com/docs/books/tutorial    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    is a subtopic of References2001-10-19 11:38:05.0
    is an instance of web sitesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    Thinking in Javahas author Bruce Eckelsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    has ISBN number ISBN 0-13-027363-5source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    is a subtopic of References2001-10-19 11:38:05.0
    is an instance of booksource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    was published by Prentice Hallsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    was published in 2000source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    thishas definition A keyword that refers to the current object or is used instead of the class name as the constructor nameadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:38:05.0
    has example
     this.accountHolder = accountHolder;    
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:05.0
    has example
    //Example of a constructor that calls another constructor in the same class using the keyword this
    public Movie(int s, int a, int d, int m)}
    this(s, a, d);
    ...
    }
    added by: JK, source: On To Java, 2001-10-19 11:38:05.0
    has purpose to refer to the current object or is used instead of the class name as the constructor nameadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:06.0
    is a subtopic of Methods2001-10-19 11:38:06.0
    is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:06.0
    represents the current object    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:06.0
    threadbelongs to a thread group which places limitations on the thread to protect it from other threadsadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:06.0
    has thread priorityadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:06.0
    has definition An object used in multithreaded software systems that represents a sequence of program executionadded by: JK, reference: Source 2, 2001-10-19 11:38:06.0
    has example
    public class ThreadExample implements Runnable
    {
    private int counterNumber; // Identifies the thread
    private int counter; // How far the thread has executed
    private int limit; // Where counter will stop
    private long delay; // Pause in execution of thread in milisecs

    // Constructor
    private ThreadExample(int countTo, int number, long delay)
    {
    counter = 0;
    limit = countTo;
    counterNumber = number;
    this.delay = delay;
    }

    //The run method; when this finishes, the thread terminates
    public void run()
    {
    try
    {
    while (counter <= limit)
    {
    System.out.println("Counter "
    + counterNumber + " is now at " + counter++);
    Thread.sleep(delay);
    }
    }
    catch(InterruptedException e) {}
    }

    // The main method: Executed when the program is started
    public static void main(String[] args)

    //Create 3 threads and run them
    Thread firstThread = new Thread(new ThreadExample(5, 1, 66));
    Thread secondThread = new Thread(new ThreadExample(5, 2, 45));
    Thread thirdThread = new Thread(new ThreadExample(5, 3, 80));

    firstThread.start();
    secondThread.start();
    thirdThread.start();
    }
    }
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:06.0
    has purpose to enable a program to appear to be doing more than one thing at onceadded by: JK, source: On To Java, 2001-10-19 11:38:06.0
    has purpose to perform a job such as waiting for events or performing a time-consuming job that the program doesn't need to complete before going onadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:06.0
    is a kind of objectadded by: JK, 2001-10-19 11:38:06.0
    is a subtopic of Threads2001-10-19 11:38:06.0
    is a synonym of lightweight process2001-10-19 11:37:16.0
    is supported by many operating systems and programming languages    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:06.0
    is terminated when it has finished its jobadded by: JK, source: Sun Java Tutorial, modified by: DS, 2001-10-19 11:38:06.0
    see also multithreading2001-10-19 11:38:06.0
    see also synchronizationadded by: JK, 2001-10-19 11:38:06.0
    see also Thread classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:06.0
    stops permanently when its run method returnsadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:06.0
    can be blocked if it is waiting for or executing another function or thread that is blockedadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:06.0
    can be paused for a specific amount of time using the sleep methodadded by: JK, source: On To Java, 2001-10-19 11:38:06.0
    can run concurrently with 1 or more other threadsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:06.0
    Thread classhas specification    2001-10-19 11:38:06.0
    has definition A Java class that implements the general concept of a threadsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:06.0
    has methods start, run, interrupt, sleep, yield, join, stop (deprecated), suspend (deprecated)added by: JK, source: the Java Programming Language, 2001-10-19 11:38:06.0
    implements the Runnable interfaceadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:06.0
    is a member of the java.lang packageadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:06.0
    is a subtopic of Example Classes2001-10-19 11:38:06.0
    is a subtopic of Threads2001-10-19 11:38:07.0
    is an instance of class2001-10-19 11:38:07.0
    see also threadadded by: JK, 2001-10-19 11:38:07.0
    thread groupcontains threads and/or other thread groupsadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:07.0
    is a kind of kbTop2001-10-19 11:38:07.0
    is a subtopic of Threads2001-10-19 11:38:07.0
    limits its members so they cannot modify threads outside their own thread groupadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:07.0
    thread priorityhas default NORM_PRIORITYadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:07.0
    has definition The importance of a thread, which determines which thread in a system will be run firstadded by: JK, 2001-10-19 11:38:07.0
    is a value between the constants: MIN_PRIORITY and MAX_PRIORITYadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:07.0
    is a kind of kbTop2001-10-19 11:38:07.0
    is a subtopic of Threads2001-10-19 11:38:07.0
    can be changed using the setPriority methodadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:07.0
    can be determined using the getPriority methodadded by: JK, source: the Java Programming Language, 2001-10-19 11:38:07.0
    threadto create you
    1. Create a class to contain the code that will control the thread. This can be made a subclass of Thread class, or else it can implement the interface Runnable.
    2. Write a method called run in your class. The run method will normally take a reasonably long time to execute - perhaps it waits for input in a loop. When the thread is started, this run method executes, concurrently with any other thread in the system. When the run method ends, the thread terminates
    3. Create an instance of Thread class, or your subclass of Thread class, and invoking the start operation on this instance. If you implemented the interface Runnable, you have to pass an instance of your class to the constructor of Thread class.
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:06.0
    Threadsis a subtopic of kbTop2001-10-19 11:38:07.0
    throwhas example
    throw new MyException("my exceptional condition occurred");
    added by: JK, 2001-10-19 11:38:07.0
    has purpose to indicate a throw statementadded by: JK, 2001-10-19 11:38:07.0
    is a subtopic of Exception Handling2001-10-19 11:38:07.0
    is an instance of keyword2001-10-19 11:38:07.0
    throwshas example
    // A method definition with a throws 
    public void open_file() throws IOException {
    // Statements here that might generate an uncaught java.op.IOException
    }
    2001-10-19 11:38:07.0
    has purpose to indicate a throws clauseadded by: JK, 2001-10-19 11:38:07.0
    is a subtopic of Exception Handling2001-10-19 11:38:07.0
    is an instance of keyword2001-10-19 11:38:07.0
    throws clausehas example
    // A method definition with a throws 
    public void open_file() throws IOException {
    // Statements here that might generate an uncaught java.op.IOException
    }
    added by: JK, 2001-10-19 11:38:08.0
    has purpose to specify the type(s) of exception(s) that might be generated when a method is runadded by: JK, 2001-10-19 11:38:08.0
    has syntax
    throws exceptionClassName
    added by: JK, 2001-10-19 11:38:08.0
    is a kind of clauseadded by: JK, 2001-10-19 11:38:08.0
    is a subtopic of Exception Handling2001-10-19 11:38:08.0
    is part of method definitionadded by: JK, 2001-10-19 11:38:08.0
    see also throws statementadded by: JK, 2001-10-19 11:38:08.0
    throws statementhas example
    throw new MyException("my exceptional condition occurred");
    added by: JK, 2001-10-19 11:38:08.0
    has purpose to generate an exceptionadded by: JK, 2001-10-19 11:38:08.0
    is a kind of exception statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:08.0
    is a subtopic of Exception Handling2001-10-19 11:38:08.0
    is part of method bodyadded by: JK, 2001-10-19 11:38:08.0
    see also throws clauseadded by: JK, 2001-10-19 11:38:08.0
    toHexStringhas specification    2001-10-19 11:38:08.0
    has example
    // converts an Integer to hexadecimal 
    intString s = Integer.toHexString(anInt);   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    has purpose to convert an Integer to hexadecimal    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    is a member of the wrapper class Integer classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    is a subtopic of Example Methods2001-10-19 11:38:08.0
    is an instance of class method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    toolis a kind of kbTopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    toStringhas specification    2001-10-19 11:38:08.0
    has default implementation the name of the class followed by a hexadecimal code that distinguishes one instance from another    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    has purpose to convert any kind of object into a string    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:08.0
    is a subtopic of Example Methods2001-10-19 11:38:09.0
    is an instance of method that is declared in Object class    added by: JK, 2001-10-19 11:38:09.0
    returns a String representation of the object to which it is appliedadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:09.0
    should be written for every class you create    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:09.0
    transientidentifies a variable not to be written out when an instance is serializedadded by: Marvin, 2001-10-19 11:38:09.0
    indicates a field that is not part of an object's persistent state and needs not be serialized with the object in Java 1.1added by: JK, source: Java in a Nutshell, 2001-10-19 11:38:09.0
    is a subtopic of Object Serialization2001-10-19 11:38:09.0
    is an instance of keywordadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:09.0
    is not used in Java 1.0added by: JK, source: Java in a Nutshell, 2001-10-19 11:38:09.0
    modifies instance fields in a classadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:09.0
    trueis a subtopic of Variables and Data Types2001-10-19 11:38:09.0
    is an instance of booleanadded by: JK, 2001-10-19 11:38:09.0
    tryhas purpose to indicate the try block of a try-catch-finally statementadded by: JK, 2001-10-19 11:38:09.0
    is a subtopic of Exception Handling2001-10-19 11:38:09.0
    is an instance of keywordadded by: JK, 2001-10-19 11:38:09.0
    try blockhas purpose to contain statements that might throw an exceptionadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:09.0
    has syntax
    // a try-catch-finally statement showing the try block in bold
    try{
    statements
    }
    catch (exception_type1 identifier1) {
    statements
    } catch (exception_type2 identifier2) {
    statements
    ...
    } finally {
    statements
    }
    added by: JK, 2001-10-19 11:38:09.0
    is a kind of nested blockadded by: JK, 2001-10-19 11:38:09.0
    is a subtopic of Exception Handling2001-10-19 11:38:09.0
    is part of try-catch-finally statementadded by: JK, 2001-10-19 11:38:09.0
    try-catch-finally statementhas example
    //Any division by zero that occurs when executing the try block will result in execution of the catch block. 
    //Once either block completes, execution continues at the statement after the catch block.
    try
    {
    result = numerator / denominator;
    validResult = true;
    }
    catch (ArithmeticException e)
    {
    validResult = false;
    }
      
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:09.0
    has part try block, catch block(s), finally blockadded by: JK, 2001-10-19 11:38:09.0
    has syntax
    try{
    statements
    } catch (exception_type1 identifier1) {
    statements
    } catch (exception_type2 identifier2) {
    statements
    ...
    } finally {
    statements
    }
    added by: JK, 2001-10-19 11:38:09.0
    is a kind of decision making statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:10.0
    is a kind of exception statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    is a subtopic of Exception Handling2001-10-19 11:38:10.0
    is a subtopic of Exception Handling2001-10-19 11:38:10.0
    typehas definition A class, interface, or primitive typeadded by: WH, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:38:10.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:10.0
    is a synonym of data type2001-10-19 11:36:35.0
    is partitioned into primitive type, reference typeadded by: DS, 2001-10-19 11:38:10.0
    limits the possible values that a variable can hold or that an expression can produce at run timeadded by: JK, 2001-10-19 11:38:10.0
    specifies a set of valueadded by: DS, 2001-10-19 11:38:10.0
    type of a variabledetermines the operators that apply to the value of the variableadded by: DS, 2001-10-19 11:38:10.0
    determines the values that the variable can contain or refer toadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    is a kind of typeadded by: JK, 2001-10-19 11:38:10.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:10.0
    type of an objectis a kind of synonym2001-10-19 11:38:10.0
    is a subtopic of Objects2001-10-19 11:38:10.0
    is a synonym of the class that the object is an instance ofadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    type of each parameter of an overriding methodis a kind of typeadded by: JK, 2001-10-19 11:38:10.0
    is a subtopic of Methods2001-10-19 11:38:10.0
    is the same as type of the corresponding parameter of the overridden methodadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    unary operator added by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:10.0
    has definition An operator that has 1 argumentadded by: DS, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:38:10.0
    is a kind of operatoradded by: JK, 2001-10-19 11:38:11.0
    is a subtopic of Operators2001-10-19 11:38:11.0
    unchecked exceptionhas definition An exception that is not checked , which is of the class RuntimeException and its subclasses, or of the class Error and its subclassesadded by: WH, source: Specification, modified by: JK, 2001-10-19 11:38:11.0
    is a kind of exceptionadded by: WH, 2001-10-19 11:38:11.0
    is a subtopic of Exception Handling2001-10-19 11:38:11.0
    Unicodeis a subtopic of How Java Works2001-10-19 11:38:11.0
    is an instance of coding schemesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:11.0
    can represent all the symbols used in English and other languages    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:11.0
    Unicode characteris a synonym of charadded by: DS, modified by: WH, 2001-10-19 11:38:11.0
    uninitialized objecthas definition An object that has been declared but has not been assigned a valuesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:11.0
    has value null    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:11.0
    is a kind of objectsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:11.0
    is a subtopic of Objects2001-10-19 11:38:11.0
    unlabelled break statementhas example
    //Without a label the break statement exits the inner loop and resumes execution with the outer loop
    for (int i = 0; i < 10; i++) {
    while (x < 50) {
    if (i * x++ > 400) {
    break;
    }
    //inner loop here
    }
    //outer loop here
    }
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:11.0
    is a kind of break statementadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:11.0
    is a subtopic of Loops and Decision Making2001-10-19 11:38:11.0
    jumps outside the nearest loop to an enclosing loop or to the next statement outside the loopadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:11.0
    unlabelled continue statementhas example
    int count = 0;
    int count2 = 0;
    while (count++ <= array1.length) {
    if (array1[count] == 1)
    continue;
    array2[count2++] = (float)array1[count];
    }
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:11.0
    is a kind of continue statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:12.0
    is a subtopic of Loops and Decision Making2001-10-19 11:38:11.0
    restarts the loop it is enclosed inadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:12.0
    unnamed object referencehas example
    getLength({1, 2, 3})
    added by: JK, 2001-10-19 11:38:12.0
    is a kind of object referenceadded by: DS, 2001-10-19 11:38:12.0
    is a subtopic of Objects2001-10-19 11:38:12.0
    user interfaceis a kind of kbTop2001-10-19 11:38:12.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:38:12.0
    user interface componenthas definition A component used to create the user interface such as a menu, list, input field etc.source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:12.0
    is a kind of kbTopsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:12.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:38:12.0
    is a synonym of widget2001-10-19 11:38:17.0
    value added by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:12.0
    has a formatadded by: DS, 2001-10-19 11:38:12.0
    has a size in bytesadded by: DS, unit: bytes, 2001-10-19 11:38:12.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:38:12.0
    is a synonym of datum2001-10-19 11:36:35.0
    is partitioned into primitive value, objectadded by: DS, 2001-10-19 11:38:12.0
    value of a final variableis a kind of valueadded by: JK, 2001-10-19 11:38:12.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:12.0
    cannot be changedadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:12.0
    variablehas 1 nameadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    has 1 value at any one time which is the that it refers toadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    has lifetime which is the time its block is being executedadded by: DS, 2001-10-19 11:38:13.0
    has scope which is the block in which it is declaredadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    has type    added by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    has definition An item of data named by an identifieradded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:38:13.0
    has part value2001-10-19 11:38:13.0
    has purpose to refer to an object or a class or a primitive datumadded by: DS, 2001-10-19 11:38:13.0
    has scopesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    is a kind of access unitadded by: DS, 2001-10-19 11:38:13.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:13.0
    is declared by giving the data type followed by the name of the variable    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    is destroyed in the block where it is declaredadded by: DS, 2001-10-19 11:38:13.0
    is partitioned into member variable, local variable, formal parameteradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    refers to a class or an object or a primitive datumadded by: DS, 2001-10-19 11:38:13.0
    can be accessed by other variables and methods in any class in the same package by default    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:12.0
    can contain different classes of objects depending on the type of the variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:12.0
    can contain only values that are of the same type as the variable or a subtype of the variable's typeadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:12.0
    can have an interface as its type which means that, with the variable, you can invoke any operation supported by the interface    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:12.0
    can refer to a particular object, several different objects during the execution of a program, or no object at all    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    variable declarationhas example
    int anInteger;    
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    has example
    Rectangle rect = new Rectangle(); 
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    has purpose to declare a variable2001-10-19 11:38:13.0
    has syntax
    accessLevel static final transient volatile type variableName
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    is a kind of declarationadded by: JK, 2001-10-19 11:38:13.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:13.0
    can be placed practically anywhere in Java source code although it is good practice to only declare variables at the beginning of blocks    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    must contain the type name and the variable nameadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:13.0
    variable declared as a non-primitive data typecontains an instance of a classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    is a kind of variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:14.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:13.0
    is used by calling methods or accessing the object's instance variables    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    refers indirectly to its value which is an objectadded by: DS, source: Sun Java Tutorial, comment: it acts like a pointer to an object, 2001-10-19 11:38:14.0
    uses the name of a class as its type    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:14.0
    variable declared as primitive data typecontains a value of the same typeadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:14.0
    is a kind of variablesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:14.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:14.0
    refers directly to its valueadded by: DS, 2001-10-19 11:38:14.0
    does not contain object in the sense that its contents is not an instance of any classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:14.0
    variable definitionhas purpose to define a variable2001-10-19 11:38:14.0
    is a kind of definitionadded by: JK, 2001-10-19 11:38:14.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:14.0
    variablemay have access modifier added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:13.0
    variable namehas convention it consists of several words joined together with the first letter of the variable name in lowercase, each successive word beginning with a capital letter and all other letters lowercaseadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
    has example
    • loadFile
    • areaCode
    • quitGame
    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
    is case sensitiveadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
    is a kind of nameadded by: JK, 2001-10-19 11:38:14.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:14.0
    may contain any combination of Unicode characters after the first characteradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
    may not start with a numberadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
    must start with a letter, an underscore character (_) or a dollar sign ($)added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
    variable referenceis a kind of object referenceadded by: DS, modified by: WH, 2001-10-19 11:38:14.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:14.0
    variableshould be as private as possiblesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    should have comment if it is non-obvioussource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:13.0
    variable whose type is an abstract classcontains an instance of any subclass of the abstract classadded by: JK, source: On To Java, 2001-10-19 11:38:14.0
    is a kind of variable declared as a non-primitive data typeadded by: JK, source: On To Java, 2001-10-19 11:38:14.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:14.0
    variable with no access modifierhas default access modeadded by: Marvin, modified by: JK, 2001-10-19 11:38:15.0
    is a kind of variableadded by: Marvin, 2001-10-19 11:38:15.0
    is a subtopic of Variables and Data Types2001-10-19 11:38:15.0
    Variables and Data Typesis a subtopic of Java Basics2001-10-19 11:38:15.0
    vectorhas
    //Declare a vector and create an instance
    Vector v = new Vector();
    added by: JK, source: On To Java, 2001-10-19 11:38:15.0
    is an instance of Vector classadded by: JK, 2001-10-19 11:38:15.0
    is a kind of kbTopadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    is a subtopic of Collections2001-10-19 11:38:15.0
    see also Vector classadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    can be used to implement a queue or push-down stackadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    can have new elements added to the front, back or middle without replacing existing elementsadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    can only store reference types, not primitive typesadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    can return the number of elements it contains using the size() method as in:
    vectorName.size()
    added by: JK, source: On To Java, 2001-10-19 11:38:15.0
    Vector classhas specification    2001-10-19 11:38:15.0
    is a member of the java.util packageadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    is a subtopic of Collections2001-10-19 11:38:15.0
    is a subtopic of Example Classes2001-10-19 11:38:15.0
    is an instance of collection classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:15.0
    see also vectoradded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    vectordoes not have a fixed size like an arrayadded by: JK, source: On To Java, 2001-10-19 11:38:15.0
    virtual bindingis a synonym of dynamic bindingsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:15.0
    virtual machinehas definition An abstract specification for a computing device that can be implemented in different ways, in software or hardwareadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:38:15.0
    is a kind of platform2001-10-19 11:38:16.0
    is a kind of specificationadded by: JK, 2001-10-19 11:38:16.0
    is a subtopic of How Java Works2001-10-19 11:38:16.0
    is abbreviated as VM    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:16.0
    usually uses just-in-time compilation    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:16.0
    visibility modifieris a synonym of access modifieradded by: WH, 2001-10-19 11:38:16.0
    VMis a subtopic of How Java Works2001-10-19 11:38:16.0
    is an abbreviation for virtual machine    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:16.0
    is an instance of abbreviationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:16.0
    voidhas definition A keyword that indicates that a method returns no resultadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:38:16.0
    is a subtopic of Methods2001-10-19 11:38:16.0
    is an instance of keywordadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:16.0
    volatileindicates that the field is used by synchronized threads and that the compiler should not attempt to perform optimizations with itadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:16.0
    is a subtopic of Threads2001-10-19 11:38:16.0
    is an instance of keywordadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:16.0
    modifies fieldsadded by: JK, source: Java in a Nutshell, 2001-10-19 11:38:16.0
    wait methodis a subtopic of Threads2001-10-19 11:38:16.0
    is an instance of method that is declared in Object class    added by: DS, 2001-10-19 11:38:16.0
    Web browserhas definition A software application that enables you to access the World Wide Webadded by: JK, reference: Source 2, 2001-10-19 11:38:16.0
    is a kind of kbTopadded by: JK, 2001-10-19 11:38:17.0
    is a subtopic of Applets2001-10-19 11:38:17.0
    is a synonym of browser2001-10-19 11:36:13.0
    web siteis a kind of publicationadded by: JK, 2001-10-19 11:38:17.0
    while loophas example
    //Decrement n by 1 until n is 0
    while (n != 0) {
    n = n - 1;
    }
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:17.0
    has purpose to repeat a computation by looping through that computation until a test has been satisfiedadded by: JK, source: On To Java, 2001-10-19 11:38:17.0
    has syntax
    while(condition)
    {
    // statements to keep executing while condition is true
    }   
    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    is a kind of loop statementsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    is a subtopic of Loops and Decision Making2001-10-19 11:38:17.0
    can be interchanged with a for loop    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    widgetis a synonym of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    windowis a kind of user interface componentsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    is a subtopic of Graphical User Interfaces2001-10-19 11:38:17.0
    to display you define a subclass of the JFrame class by instantiating the following pattern, and create a new instance of that subclass
    import java.awt.swing.*;
    class subclassName extends JFrame {
    subclassName (String title) {
    super(title);
    setSize(width, height):
    show();
    }
    }
    added by: JK, source: On To Java, 2001-10-19 11:38:17.0
    wrapper classcontains useful class methods    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    corresponds to primitive data type    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    has purpose to allow you to do something with primitive values beyond what the basic operators can accomplish    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    is a kind of classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    is a subtopic of Classes2001-10-19 11:38:17.0
    see also instance of wrapper classsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:38:17.0
    writing to a filehas syntax
    //Instantiate a stream, and a PrintWriter
    FileOutputStream streamVariableName = new FileOutputStream(fileNameOrPath);
    PrintWriter printerVariableName = new PrintWriter(streamVariableName)
    //Write a string to the file
    printerVariableName.print(string);
    //Write a string and a newline to the file
    printerVariableName.println(string);
    //Close the file
    streamVariableName.close();
    added by: JK, source: On To Java, 2001-10-19 11:38:17.0
    is a kind of actionadded by: JK, 2001-10-19 11:38:18.0
    is a subtopic of Input and Output2001-10-19 11:38:17.0
    |has purpose to return true if at least one of its operands evaluates to trueadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    is a subtopic of Operators2001-10-19 11:35:51.0
    is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    is an instance of bitwise operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    is an instance of logical operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    always evaluates both its operandsadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    |=has equivalent
    op1= op2
    is equivalent to
    >
    op1 = op1  op2
    added by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    is a subtopic of Operators2001-10-19 11:35:51.0
    is an instance of assignment operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    ||evaluates its second operand only if the first operand returns falseadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    has purpose to return true if at least one of its operands evaluates to trueadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    indicates logical OR    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:51.0
    is a subtopic of Operators2001-10-19 11:35:51.0
    is an instance of binary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    is an instance of logical operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:51.0
    is an instance of short circuit operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:35:51.0
    ~has purpose to perform a bitwise complementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
    is a subtopic of Operators2001-10-19 11:35:52.0
    is an instance of bitwise operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0
    is an instance of unary operatoradded by: JK, source: Sun Java Tutorial, 2001-10-19 11:35:52.0