CSCI 2010 Midterm
Save
Terms in this set (117)
What is an an instance of a class
object?
What is a class? a blueprint for creating objects
a structural diagram that can be
What is a UML used to visually model the classes of
class diagram? a computer program, including data
members and functions
What is an an object of a class where data is
instance stored
variable?
What is a a collection of instructions that
method? perform a specific task
, public - can be accessed from any
package.
private - only members of the same
What are the class can access.
access protected - can be accessed by
modifiers? classes inside the package and
subclasses anywhere.
default - no access by classes or
subclasses outside the package
What is the null the absence of a value or a
constant? reference to an object
A ______ method is void
a method that
does not return
a value.
access modifier (public), return type
What does a
(void), name of the method
method header
(writeOutput), and the parameter list
contain?
in parenthesis
, The _____ ______ method body
contains a
sequence of
statements to
execute when
the method is
called, and must
be surrounded
by { and }.
A method can value
be defined to
return a ______.
When the variable
method is called,
the return value
should be stored
in a ______.
Within a method this
definition, the
keyword ______
refers to the
object that is
performing the
action specified
by the method
Save
Terms in this set (117)
What is an an instance of a class
object?
What is a class? a blueprint for creating objects
a structural diagram that can be
What is a UML used to visually model the classes of
class diagram? a computer program, including data
members and functions
What is an an object of a class where data is
instance stored
variable?
What is a a collection of instructions that
method? perform a specific task
, public - can be accessed from any
package.
private - only members of the same
What are the class can access.
access protected - can be accessed by
modifiers? classes inside the package and
subclasses anywhere.
default - no access by classes or
subclasses outside the package
What is the null the absence of a value or a
constant? reference to an object
A ______ method is void
a method that
does not return
a value.
access modifier (public), return type
What does a
(void), name of the method
method header
(writeOutput), and the parameter list
contain?
in parenthesis
, The _____ ______ method body
contains a
sequence of
statements to
execute when
the method is
called, and must
be surrounded
by { and }.
A method can value
be defined to
return a ______.
When the variable
method is called,
the return value
should be stored
in a ______.
Within a method this
definition, the
keyword ______
refers to the
object that is
performing the
action specified
by the method