The document discusses object-oriented programming concepts. It defines a class as a blueprint that defines an object's characteristics like data members and methods. Objects in OOP are based on real world objects that have properties and behaviors. OOP offers benefits like better code reusability, manageability, and flexibility compared to traditional programming. Key concepts discussed include encapsulation, inheritance, polymorphism, and abstraction. Examples are provided to explain departments in a company and a polygon class being used to represent polygon objects.
7. The Object-Oriented
Approach - III
PersonnelAccounts Sales
The real world around is full of objects .We can consider both living
beings as well as things as objects.For example,the different
departments in a company are objects.
8. Why OOPs Concept are Used?
The drawbacks of Traditional Programming
approach are
Unmanageable Programs
Code Reusability not Optimum
Problems in Modification of Data
Difficulty in Implementation
9. Object Oriented Programming
Accounts
Data
Employee details
Salary statements
Bills
Vouchers
Reciepts
Functions
Calculate salary
Pay salary
Pay bills
Tally accounts
Transact with banks
Here the application has to implement the entities as they are
seen in real life and associate actions and attributes with each.
10. Benefits of Object Oriented Programming approach
are -
OOP offers better implementation
OOP offers better data security
OOP offers better code reusability
OOP offers more flexibility
OOP offers better manageable programs
Large complexity in the software development
can be easily managed
User defined datatypes can be easily constructed
12. Data acquisition Systems
Client/Server Computing
Object Oriented Database applications
Artificial Intelligence and expert systems
systems such as process control, temperature control etc.
GUI based system such as Windows Applications
Computer Aided Design and manufacturing Systems
14. Grouping of data and methods into a
single entity is known as Data
Encapsulation
It is a technical name for
information hiding. (i.e data hiding or
data security)
16. Data abstraction enhances security as use
of data is restricted to certain functions
only.
Abstraction is more used where you
want only a certain number of
functions/methods are accessing data.
21. polymorphism allows a programmer to
purse a course of action by sending a
message to an object without concerning
about how the software system is to
implement the action
Simply defined as Same thing
can behave different ones
23. A class is what defines all the data
members and the methods that an object
should have.
The class defines the characteristics that
the object will possess; it could also be
referred to as a blueprint of the object.