Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Resumen

Summary Object Oriented Programming (210243)

Puntuación
-
Vendido
-
Páginas
5
Subido en
02-04-2022
Escrito en
2021/2022

Summary Object Oriented Programming ()

Institución
Grado

Vista previa del contenido

󾠮
Unit-1
Fundamentals of OOP
Namespaces
Objects
Class
Data Members
Methods and Messages
Message Passing
Data Encapsulation
Data Abstraction and Information Hiding
Inheritance
Polymorphism
Benefits of OOP
Drawbacks
C++
Separating Interface from Implementation
Constructors
Copy Constructor
Memory Requirement
Inline Function
Friend Function



Fundamentals of OOP
Namespaces
Group the entities like class, variables, objects and functions under the same name.
Helps to divide global scope into sub scopes where sub scope has its own nature. eg.
using
All the files in the C++ standard library declare all its entities within the std namespace.




Unit-1 1

, using namespace std;




Objects
Instance of a class. Basic run time entities in OOP.


Class
A class can be defined as an entity in which data and functions are put together.


Data Members
The data members are the variables that are declared within the class along with the
data types. The access specifiers to these members can be private, public or protected.


Methods and Messages
The functions of a class are called methods.

Message Passing
Mechanism which allows the objects to interact with each other. Its process is given as
follows:

1. Define the class with data members and member functions.

2. Create the objects belonging to the class

3. Establish communication between these objects using the methods.


Data Encapsulation
It means binding of data and method together in a single entity called class. The data
inside the class is accessible by the methods in the same class.


Data Abstraction and Information Hiding
Representation of only essential features by hiding all the implementation details. Data
that is declared as private then only member functions of the class can access it. This is
called data hiding.


Unit-1 2

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
2 de abril de 2022
Número de páginas
5
Escrito en
2021/2022
Tipo
RESUMEN

Temas

$3.49
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
sanahnaik

Conoce al vendedor

Seller avatar
sanahnaik Bharati Vidyapeeth\'s College of Engineering for Women
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
-
Miembro desde
4 año
Número de seguidores
0
Documentos
33
Última venta
-

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes