A Guide To Programming In Java – Final Exam – Flashcards
53 test answers
Unlock all answers in this set
Unlock answers 53question
Collection
answer
A group of related elements that are stored together as a single unit
Unlock the answer
question
Collections Framework
answer
Classes for implementing collections
Unlock the answer
question
Dynamic Array
answer
An array that varies in size at run time
Unlock the answer
question
Element
answer
A data item in an array
Unlock the answer
question
Generics
answer
Used for communicating to the computer the type of data stored in an arraylist
Unlock the answer
question
Index
answer
The value associated with an element in an array
Unlock the answer
question
Linear Search
answer
An algorithm for searching an array in which each element of the array is checked one after the other
Unlock the answer
question
Traversing
answer
Iterating through element of an array
Unlock the answer
question
Type Parameter
answer
The part of an array list statement that informs the compiler of what type of objects the arraylist can contain ()
Unlock the answer
question
Unicode
answer
The sixteen bit digital code used to represent every letter and symbol
Unlock the answer
question
ArrayList
answer
A java.util class with methods for implementing a dynamic array
Unlock the answer
question
Double
answer
A java.lang class for wrapping double values in an objectq
Unlock the answer
question
for
answer
A statement that can be used to traverse an array
Unlock the answer
question
Integer
answer
A java.lang class for wrapping int values in an object
Unlock the answer
question
[]
answer
the operators for accessing an array element
Unlock the answer
question
String
answer
A java.lang class with methods for convering a string to a set of characters of for inspecting individual characters of a string
Unlock the answer
question
Accessor Method
answer
A method of a class that is used to determine the value of a variable number
Unlock the answer
question
Behavior
answer
The action and communication an object provides
Unlock the answer
question
Class
answer
A data type that defines variables for the state of an object and methods for an object's behavior
Unlock the answer
question
Classbody
answer
The variables, constructors, and methods that implement a class
Unlock the answer
question
ClassCastException
answer
An exception thrown when an object variable is cast with an incompatible class
Unlock the answer
question
Class declaration
answer
The first line of a class, which contains the access level and other important information
Unlock the answer
question
Class method
answer
A method of a class that can be called from the class itself
Unlock the answer
question
Class variable
answer
A variable of a class that exists as one copy that all instances of a class refer to
Unlock the answer
question
Client code
answer
An application that uses one or more classes
Unlock the answer
question
Constructor
answer
The part of a class that is used to initialize the variable members of a class
Unlock the answer
question
Encapsulation
answer
Protecting an object's data
Unlock the answer
question
Has-a relationship
answer
Demonstrated by a class that contains another class
Unlock the answer
question
Helper method
answer
A method of a class that is used by other methods in a class to help complete a task
Unlock the answer
question
Information hiding
answer
AKA Encapsulation
Unlock the answer
question
Inherit
answer
To receive the methods of a superclass
Unlock the answer
question
Instance
answer
An object of a class
Unlock the answer
question
Instance Method
answer
A method of a class that changes the state of a class
Unlock the answer
question
Member
answer
A variable or method of a class
Unlock the answer
question
Message
answer
Information passed from one object to another
Unlock the answer
question
Modifier method
answer
A method of a class that is used to change the value of a variable member
Unlock the answer
question
Modular
answer
An application that uses components that are separately written and maintained
Unlock the answer
question
Object
answer
An instance of a class
Unlock the answer
question
Object Casting
answer
To cast and object as the appropriate class
Unlock the answer
question
Object oriented development
answer
The solution to the task that is implemented as a system of objects
Unlock the answer
question
Override
answer
To redefine a method from a superclass in a subclass
Unlock the answer
question
Reusability
answer
A feature of object-oriented programming that reduces development time and decreases the likelihood of bugs
Unlock the answer
question
State
answer
The data an object stores
Unlock the answer
question
Subclass
answer
A class below another class in a class hierarchy
Unlock the answer
question
Superclass
answer
The upper-most class in a class hierarchy
Unlock the answer
question
Visibility
answer
The access level of a method
Unlock the answer
question
public
answer
An access modifier used to declare a class that is visible to the client code
Unlock the answer
question
private
answer
An access modifier used to declare class members visible to the class but not the client code
Unlock the answer
question
static
answer
The keyword used in the declaration of a variable or method in a class to indicate that the member is a class method
Unlock the answer