Shared Flashcard Set

Details

ITIS 1212 Test 1
Study guide for Java Programming test
26
Computer Science
Undergraduate 1
09/29/2015

Additional Computer Science Flashcards

 


 

Cards

Term
int
Definition
Primitive datatype for storing integers
Term
float
Definition
Primitive datatype for storing many decimal numbers
Term
double
Definition
Primitive datatype for storing precise decimal numbers
Term
boolean
Definition
Primitive datatype that keeps track of whether something is true or false
Term
char
Definition
Primitive datatype for storing a single character
Term
String
Definition
An object class within Java that stores a sequence of characters
Term
Escape sequences
Definition
Sequences you can put in Strings to give extra formatting information
Term
\n
Definition
Escape sequence for a new line
Term
\t
Definition
Escape sequence for tab
Term
\\
Definition
Escape sequence allowing you to have a forward slash in your String
Term
Parameters
Definition
Values that give a method extra information that it uses to perform an action
Term
void
Definition
Return type for a method that doesn't need to return a piece of information
Term
setter
Definition
A method that changes the state of an object
Term
getter
Definition
A method that gets information about an object
Term
constructors
Definition
A method that's called just once when the object if first created that has the same name as the class but no return value
Term
Method
Definition
defines an action that an object can perform, sets the state of an object, or gets information about an object
Term
Coercion
Definition
When java automatically treats an int value as a double because there is no precision to be lost
Term
Class
Definition
A "blueprint" that allows infinite objects to be created following that blueprint
Term
Object variables
Definition
variables that have a name and hold either NULL or an address that points to an object
Term
constant
Definition
A type of variable that can't change while the program is running, declared using the keyword 'final'
Term
=
Definition
Java's assignment operator
Term
literal
Definition
a number, char, or String typed in directly
Term
variable
Definition
a 'box' in memory that has a name and can hold a value of a specific datatype
Term
private
Definition
Denotes that the field can only be accessed inside of the class it is in, not from outside
Term
public
Definition
denotes that a field can be accessed both inside and outside of the class it is in
Term
main method
Definition
the method that executes when you run the program
Supporting users have an ad free experience!