Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Summary Object Oriented Programming (210243)

Beoordeling
-
Verkocht
-
Pagina's
5
Geüpload op
02-04-2022
Geschreven in
2021/2022

Summary Object Oriented Programming ()

Instelling
Vak

Voorbeeld van de inhoud

󾠮
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

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
2 april 2022
Aantal pagina's
5
Geschreven in
2021/2022
Type
SAMENVATTING

Onderwerpen

€3,10
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
sanahnaik

Maak kennis met de verkoper

Seller avatar
sanahnaik Bharati Vidyapeeth\'s College of Engineering for Women
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
33
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen