C# Object Oreintation

C# Object Oreintation

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Static

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

1

Favorites

0

Last updated

1 year ago

Date created

Mar 14, 2020

Cards (26)

Section 1

(26 cards)

Static

Front

a data member does not belong to an object; it is called from the class itself

Back

Polymorphism

Front

meaning "Many Forms", this concept refers to objects of different types being accessible through a common interface or inheritance

Back

Constructor

Front

a special method that defines how attributes are initialized when an object is instantiated

Back

Object (concept)

Front

a complex data type built from a class

Back

Virtual

Front

a data member marked virtual in the base class can be overridden in any derived classes

Back

Abstract Method

Front

only defines a method header but no implementation; an abstract method can only exist in an abstract class, and an abstract method MUST be overridden in any derived classes

Back

Derived Class

Front

with inheritance, the class is the new class created from some base class

Back

Class

Front

a user-defined blueprint used for defining and creating objects

Back

Private

Front

a data member is accessible only in the class in which it was defined

Back

Interface

Front

a purely abstract base class; allows the sharing of attributes and behaviors across unrelated classes

Back

Partial

Front

the keyword allows a class to be implemented across multiple files

Back

Behaviors

Front

actions an object can take; implemented in a class using methods

Back

Attributes

Front

descriptive elements of an object; implemented in a class using fields/properties

Back

Encapsulation

Front

the act of hiding a class implementation, protecting the integrity of data members, and only exposing what is necessary

Back

Property

Front

a data member that defines protected read/write access to field variables

Back

Object (data type)

Front

the ultimate base class for all other types in C#

Back

Instantiation

Front

the process of creating/initializing an object

Back

Abstract Class

Front

cannot be instantiated -- it is used only to derived other classes

Back

Public

Front

a data member is accessible everywhere

Back

Override

Front

the keyword allows modified an inherited data member's implementation.

Back

Sealed

Front

the keyword prevents a class from be inherited

Back

Inhertiance

Front

a mechanism for sharing attributes and behaviors across related classes

Back

Feild

Front

a variable defined in a class; fields hold attribute values

Back

Method

Front

a data member of a class that implements an object behavior

Back

Base Class

Front

with inheritance, the class is the class we used to build another class

Back

Protected

Front

a protected data member is accessible only in the class in which it was defined, and in any derived classes

Back