Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Object Oriented Programming (210243)

Rating
-
Sold
-
Pages
5
Uploaded on
02-04-2022
Written in
2021/2022

Summary Object Oriented Programming ()

Institution
Course

Content preview

󾠮
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

Written for

Institution
Course

Document information

Uploaded on
April 2, 2022
Number of pages
5
Written in
2021/2022
Type
SUMMARY

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sanahnaik

Get to know the seller

Seller avatar
sanahnaik Bharati Vidyapeeth\'s College of Engineering for Women
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
33
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions