hello quizlet
Home
Subjects
Expert solutions
Create
Study sets, textbooks, questions
Log in
Sign up
Upgrade to remove ads
Only $35.99/year
Science
Computer Science
java ch5
Flashcards
Learn
Test
Match
Flashcards
Learn
Test
Match
Terms in this set (30)
the term ________ describes the process of combining an objects data and behavior into a single software package
encapsulation
_________ is the characteristic of an object that says that, at any particular moment, the object instance variables have particular values
state
when a message is sent to an object, the sender is referred to as the
client
assuming the existence of a class named auto, the variable auto1 in the program statment auto1 = new Auto(); is actually a __________ to an auto object and not an object itself
reference
java classifies data in one of two categories, primitive data types and ___________ data types
objects
a class constructor that contains an empty parameter list is commonly called the _________ constructor
default
if a method for a class needs to be visible to clients of the class, the mthod should be coded using the _____ modifier key word
public
the values that are passed to a method when it is invoked are called arguments or ________ paramters
actual
variables that are defined in a compound statement, within a set of braces, and are only visable to code within those braces are said to have _________ scope
block
the JMV deletes unreferenced objects from memory during a process called
garbage collection
which characteristics of an object distinguishes that object from all other objects in the same program or software system
identity
when sending a message to an object, what term is used to define the list of methods that are supported by the server
interface
messages that are used to change the state of an object that are called
mutators
which of the following is not a normal component of a java class templete
a method to delete the object and release its memory
which term is used to describe the class definition statement keywords public and private ?
visibility modifiers
calling one class constructor from within another class constructor is called
chaining
which of the following is used to describe the parameters coded within the parantheses in a methods definition
formal parameters
small methods defined within a class to assist in some complex processing required for the class are referred to as
helper methods
how long does a local variable retain the memory allocated for the variable
it retains it only as long as a method defining the variable is executing
what building modifier we use for helper method
private
messages that change an object state
mutators
key word that is used to activate an contructor
new
methods used to access an objects state
accessors
contractors with empty parameter lists are called
default
method that returns no value should have a return type as
void
list of methods that an object can use
interface
method that is used to initiate instance variable of a new object
contructor
term describes the period in which variable is used
lifetime
what makes u know its a constructor
same name as class
no return type
variables outside method
global
Other sets by this creator
java ch4
24 terms
java ch2
25 terms
sociology final
31 terms
ear
22 terms
Verified questions
anatomy
What lipid type is stored in fat deposits beneath the skin? a. Triglyceride, b. Steroid, c. Vitamin D, d. Phospholipid, e. Prostaglandin.
biology
Use the term angiosperm in a sentence.
biology
Recognize two factors of climate that determine a biome.
physics
A $3.25\,\mathrm{kg}$ piece of wood $(\mathrm{SG}=0.50)$ floats on water. What minimum mass of lead, hung from the wood by a string, will cause it to sink?
Other Quizlet sets
JDMA courses
10 terms
Acting against or acting for ?
52 terms
Mental Heath NUR234
115 terms