Shared Flashcard Set

Details

ESE 112
vocab
34
Engineering
Undergraduate 1
12/14/2008

Additional Engineering Flashcards

 


 

Cards

Term
Literals
Definition
the values we write in a
conventional form whose value is obvious
Term
expression
Definition
combination of literals and operators, it has a value
Term
Value
Definition
Piece of data
Term
Type
Definition
Kind of data; determines how the value is stored in computer’s memory, and how the value can be converted (cast) to related
values
Term
primitive types
Definition
Values that Java knows how to operate on directly: Integer, Fractional or floating point number (double),(char), (boolean)
Term
variable
Definition
name together with an associated
value, and a type
Term
Identifiers
Definition
names that you as a coder make up
Term
method
Definition
a named group of statements, and execute those statements by calling the method
Term
loop
Definition
Performs a statement (or block) over & over
Term
void
Definition
used to indicate that a method
doesn’t return a value; to indicate void method, Execute a return statement by itself (no return values) or reach closing brace of main method
Term
public:
Definition
makes the method accessible from outside the class
Term
private
Definition
not accessible outside the class
Term
psuedocode
Definition
English like code; allows the designer to focus on the logic of the algorithm without being distracted by details of language syntax
Term
Scope
Definition
the area of code in which an entity is
known (or alive)
Term
explicitly defined scope
Definition
labled "private" or "public"
Term
implicitly defined scope
Definition
designated by location
Term
break
Definition
“breaks you out” of the closest
enclosing loop
Term
continue
Definition
a shortcut to the next iteration of
the loop
Term
Data Fields (oop)
Definition
hold the data for each object; data stored in variables
Term
Non-static Methods (oop)
Definition
describe the actions/behaviors the object can perform
Term
Constructor(s)
Definition
initialize object with some information
Term
Query Methods:(oop)
Definition
ask an object about its state; eg. getAge, getName
Term
Command Methods:
Definition
change an object’s state; eg. setAge, withdraw
Term
this
Definition
a reference to the current object whose constructor/method is being called
Term
package
Definition
a directory that has a collection of related classes
Term
dynamic
Definition
things created at “run time” i.e. when the program is running; Every object effectively gets its own copy of each
dynamic method, and instance variables
Term
Static
Definition
“pertaining to the class in general”, not to an individual object, and is shared by all instances
Term
aliases
Definition
Two or more references point to the same object
Term
"has a” relationship
Definition
An object of type A has an instance variable which is an object whose type is B. (A “has a” B)
Term
extends keyword
Definition
used to establish inheritance
Term
protected
Definition
visibility modifier that makes class instance visible only to its subclasses
Term
super
Definition
A constructor can explicitly call its parent’s (its superclass’) constructor by making a call to super(arguments)
Term
equals() and equalsIgnoreCase() methods
Definition
use to compare two Strings for equality; eg. > a= "hi"; b= "hi" > a.equals(b)
Term
Polymorphism
Definition
refers to the fact that you can have
multiple methods with the same name in the same class
Supporting users have an ad free experience!