Chapter 7 - Object Oriented Programming Flashcards
is one concrete example of a class
Object
is a term that describes a group of objects with common properties
Class
describes what attributes its objects will have and what those objects be able to do. In other words a _____ _________ describes data and methods.
Class definition
is an existing object of a class
Instance(of a class)-
When you program in object oriented languages you frequently create classes from which objects will be instantiated.
Instantiating
a program or class that instantiates objects of another prewritten class
Class client/ Class user
– is most classes that contain data although that is not required. Each data variable that exists for every object.
Instance variable/field
Classes that contain methods, although this is not required. Each method that each object can use is an ________ _________.
Instance Method
the type’s of data can be accessed only through methods.
Abstract data type
the data cannot be accessed by any method that is out part of the class.
Private Access
which means that other programs and methods may use the methods that control access to the programs and methods that is not part of the class.
Public Access
is the adjective that defines the type of access that outside classes will have to the attribute or method (public or private)
Access specifier( access modifier)
when you violate the direct assignment statement and make something private that should be public
Data Hiding
The ability to create classes that take on the attributes and methods of existing classes, but with more specific features.
Inheritance
“many forms”, describes a language’s ability to process objects differently depending on each objects data type.
Polymorphism