Shared Flashcard Set

Details

OOP Terms
Basic terminology for object oriented programming.
12
Computer Science
Undergraduate 1
04/03/2007

Additional Computer Science Flashcards

 


 

Cards

Term
abstract data type (ADT)
Definition
is a type you define, as opposed to types that are defined by C++
Term
access modifier
Definition
assigns accessibility to the declared variables that follow it
Term
class
Definition
is a category of objects; it is a new data type you create that is more complex than the basic data types
Term
Static variables
Definition
are sometimes called class variables, class fields, or class-wide fields because they don’t belong to a specific object; they belong to the class, and you can use them even if you never instantiate an object.
Term
declaration section
Definition
contains the class name, variables (attributes), and function prototypes
Term
encapsulate
Definition
contain components
Term
implementation section
Definition
contains the class functions
Term
instantiate an object
Definition
is to declare or create it
Term
object
Definition
a single unit that is a combination of data and operations (methods) performed on that data
Term
public
Definition
member of a class that is accessible outside the class

Reserved word in C++
Term
private
Definition
Access specifier declaring a member of a class is NOT to be accessed outside the class

Reserved word in C++
Term
protected
Definition
Access specifier declaring a member of a class is to be accessible to derived classes, but not to clients

Reserved word in C++
Supporting users have an ad free experience!