Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Notizen

Ohne Titel

Niket Zope Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

class is a user-defined data type

it is a complex data type

it is a collection of member

members--> 1. data member (variables) 2. member functions.

class is a container

class provides the concept of encapsulation

encapsulation is nothing but allowing different data members and member

functions to be bind together inside a class.

class provides the concept of data hiding with private declaration

class is a blue-print original copy to construct the objects

its a plan before constructing the objects.

class is a logical copy to create object (physical copy)

class never occupies the memory objects does

syntax of class ---

Class [clsss name] -- Class here is a keyword

{

Access specifier :

data member ;

member function;

};

Informationen

Beschreibung
Notiz am Ohne Titel, erstellt von Niket Zope am 20/08/2019.
Erstellt von
Niket Zope
Aufrufe
3
Bewertung

Mehr zu Encapsulation and Data Hiding

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?