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
Class notes

Oops concept and it's feature

Rating
-
Sold
-
Pages
3
Uploaded on
24-05-2025
Written in
2024/2025

Note for information technology

Institution
Course

Content preview

Object Oriented Programming
The structure, or building blocks, of object-oriented programming include
the following:
●​ Classes are user-defined data types that act as the blueprint for individual
objects, attributes and methods.
●​ Objects are instances of a class created with specifically defined data.
Objects can correspond to real-world objects or an abstract entity. When
class is defined initially, the description is the only object that is defined.
●​ Methods are functions that are defined inside a class that describe the
behaviors of an object. Each method contained in class definitions starts with
a reference to an instance object. Additionally, the subroutines contained in
an object are called instance methods. Programmers use methods for
reusability or keeping functionality encapsulated inside one object at a time.
●​ Attributes are defined in the class template and represent the state of an
object. Objects will have data stored in the attributes field. Class attributes
belong to the class itself.


Main principles of OOP
●​ Encapsulation This principle states that all important information is
contained inside an object and only select information is exposed. The
implementation and state of each object are privately held inside a defined
class. Other objects do not have access to this class or the authority to make
changes. They are only able to call a list of public functions or methods. This
characteristic of data hiding provides greater program security and avoids
unintended data corruption.
●​ Abstraction Objects only reveal internal mechanisms that are relevant for
the use of other objects, hiding any unnecessary implementation code. The
derived class can have its functionality extended. This concept can help
developers more easily make additional changes or additions over time.
●​ Inheritance- Classes can reuse code from other classes. Relationships and
subclasses between objects can be assigned, enabling developers to reuse
common logic while still maintaining a unique hierarchy. This property of OOP
forces a more thorough data analysis, reduces development time and
ensures a higher level of accuracy.

Written for

Course

Document information

Uploaded on
May 24, 2025
Number of pages
3
Written in
2024/2025
Type
Class notes
Professor(s)
Amandeep kaur
Contains
All classes

Subjects

$8.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
jaspreetkaur15

Also available in package deal

Get to know the seller

Seller avatar
jaspreetkaur15 Mata gujri college
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
11 months
Number of followers
0
Documents
12
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions