CSCI 2010 FINAL STUDY GUIDE
Object - Answers - an instance of a class that are created to use the attributes and
methods of a class
Class - Answers - Blueprints of an object
UML class diagram - Answers - describes the structure of a class by displaying the
class name (first row), variables (second row), and methods (third row).
Instance variable - Answers - a variable defined in a class for which every object of the
class has its own value
Method - Answers - A block of code that, when called, performs specific actions
mentioned in it
The null constant - Answers - indicates the null value / has no data type
Void Method - Answers - Method that does not return a value
Method header - Answers - Public / void/ writeOutput / ()
Method Body - Answers - a sequence of statements to execute when the method is
called, and must be surrounded by { and }
this - Answers - refers to the object that is performing the action specified by the method
Local Variable - Answers - temporary variable that exist only in a particular function o
block of statements
Parameter - Answers - Information that is passed to a method / act as variables inside
the method
Accessor method / Getter - Answers - Allows access to private variables not inside the
class
Mutator method / Setter - Answers - Allows changing of a private variable not inside the
class
Information hiding - Answers - a programmer using a method needs to knowwhat the
method does, not how it does it
Object - Answers - an instance of a class that are created to use the attributes and
methods of a class
Class - Answers - Blueprints of an object
UML class diagram - Answers - describes the structure of a class by displaying the
class name (first row), variables (second row), and methods (third row).
Instance variable - Answers - a variable defined in a class for which every object of the
class has its own value
Method - Answers - A block of code that, when called, performs specific actions
mentioned in it
The null constant - Answers - indicates the null value / has no data type
Void Method - Answers - Method that does not return a value
Method header - Answers - Public / void/ writeOutput / ()
Method Body - Answers - a sequence of statements to execute when the method is
called, and must be surrounded by { and }
this - Answers - refers to the object that is performing the action specified by the method
Local Variable - Answers - temporary variable that exist only in a particular function o
block of statements
Parameter - Answers - Information that is passed to a method / act as variables inside
the method
Accessor method / Getter - Answers - Allows access to private variables not inside the
class
Mutator method / Setter - Answers - Allows changing of a private variable not inside the
class
Information hiding - Answers - a programmer using a method needs to knowwhat the
method does, not how it does it