Thursday, 13 August 2015

oops

Object Oriented           Programming
       By
                   Ankita Pabbi

                                     &
                                          Harmandeep Singh


Concepts of OOPs
•        Object
•        Class
•        Data abstraction
•        Data encapsulation
•        Modularity
•        Inheritance
•        Polymorphism


Class
•        A class is a group of objects that share common properties and relationships.


Object
•        An object is an identifiable entity with some characteristics and behavior.


Data Abstraction
•        Abstraction refers to the act of representing essential features without including the background details or explanations.


Data Encapsulation
•        The wrapping up of data and operations / functions (that operate on the data) into a single unit (called class) is known as encapsulation.



Modularity
•        Modularity is the property of a system that has been decomposed into a set of cohesive and loosely coupled modules.


Inheritance
•        Inheritance is the capability of one class of things to derive capabilities or properties from another class.



Polymorphism
•        Polymorphism is the ability for a message or data to be processed in more than one form.



Advantages of OOP
•        Re-use of code
•        Ease of comprehension
•        Ease of fabrication and maintenance
•        Easy redesign and extension



Disadvantage of OOP
•        With OOP, classes tend to be overly generalised.
•        The relations among classes become artificial at times.
•        The OOP programs’ design is tricky.
•        Proper Planning & Design is required
•        Programmer need proper skills for development



                    Thank you

No comments:

Post a Comment