Ch. 7 Terms
Terms in this set (35)
A method of a class that is used to determine the value of a variable member. Accessor methods have access level public.
The action and communication an object provides.
A data type that defines variables for the state of an object and methods for an object's behavior.
The variables, constructors, and methods that implement a class.
An exception thrown when an object variable is cast with an incompatible class.
The first line of a class, which contains the access level, the keyword class, and the class name.
A method of a class that can be called from the class itself. It cannot change the state of an object. Class methods include the keyword static.
A variable of a class that exists as one copy that all instances of a class refer to. Class variables include the keyword static.
An application that uses one or more classes.
The part of a class that is used to initialize the variable members of a class.
Encapsulation Protecting an object's data from code outside the class.
The relationship demonstrated by a class that contains another class.
A method of a class that is used by other methods in a class to help complete a task. Helper methods have access level private.
Also called encapsulation.
To receive the methods of a superclass.
An object of a class.
A method of a class that changes the state of a class. It must be called from an instance of the class.
A variable of a class that is copied for each instance of the class.
A variable or method of a class.
Information passed from one object to another.
A method of a class that is used to change the value of a variable member. Modifier methods have access level public.
An application that uses components that are separately written and maintained.
An instance of a class. An object stores data and can perform actions and provide communication.
To cast an object as the appropriate class.
The solution to a task that is implemented as a system of objects.
To redefine a method from a superclass in a subclass.
A feature of object-oriented programming that reduces development time and decreases the likelihood of bugs.
The data an object stores.
A class below another class in a class hierarchy. A class that inherits another class.
The upper-most class in a class hierarchy. A class that has subclasses.
The access level of a method.
The keyword used to declare a class.
An access modifier used in the declaration of a class to indicate that the class is visible to client code. Also used in the declaration of class methods to indicate that the method is visible to client code.
A keyword used in the declaration of class members when those members should be visible to the class but not to client code.
The keyword used in the declaration of a variable or method in a class to indicate that the member is a class method.
YOU MIGHT ALSO LIKE...
Chapter 8 Java
APCS Chapter 11 Vocab
C# tabernik final Ch 9,10
Programming Chapters 9 & 10 Vocab