This page is a work in progress.You can help improve it. →

Terminology

TermDefinition
StateThe information that we need to keep track of in our program.
BehaviorThe code that interacts with the information (state) in our program.
ClassA class defines the kinds of data and the functionality their objects will have.
ObjectInstance of a class that is created dynamically.
GetRetrieve the information stored within that property of our class.
SetChange the information in that property of our class.
ConstructorA special method of the class which gets automatically invoked whenever an instance of the class is created.
PropertiesAn attribute of the class in our program.
Public PropertyThis property can be seen outside of the class.
Protected PropertyThis property can be accessed only by code in the same class, or in a class that is derived from that class.
Private PropertyThis property can only be seen from other code within the class itself.
EncapsulationEnables a group of properties, methods and other members to be considered a single unit or object.
InheritanceThe ability to create a class that inherits attributes and behaviors from an existing class. hese are in an is a or is a kind of relationship.
© 2017 - 2022; Built with ♥ in St. Petersburg, Florida.