Notas
Sem título
Conteúdo das notas (1)
Página 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;
};
Informações
- Descrição
- Notas sobre Sem título, criado por Niket Zope em 20-08-2019.
- Criado por
- Niket Zope
- Visualizações
- 0
- Avaliação