OOPs Basics

OOPs Basics

Basic Concepts of Object Oriented Programming :

  1. Objects

  2. Classes

  3. Data abstraction & Encapsulation

  4. Inheritance

  5. Polymorphism

  6. Dynamic Binding

  7. Message Passing

  • Objects

    objects are the basic run-time entities , it may represent a person ,

    place , bank account and a table of data.

  • Classes

    A group of objects that share common properties for data part and function part.

  • Data Abstraction

    it refers to the act of representing essential features without including background details or explanation.

  • Data Encapsulation

    The wrapping up of data and function into a single unit ( class ) is known as encapsulation.

  • Inheritance

    It is the process by which objects of one class acquire the properties of another class.

  • Polymorphism

    the ability to take more than one form.

    the feature that allows a function or operator to be give more than one definition.

  • Dynamic Binding

    it means the code associated with a given procedure call is not known until the time of the call at run-time.

  • Message Passing

    A message for an object is a request for execution of a procedure and therefore will invoke a function (procedure) in the receiving object that generates the desired result.


Benefits of OOPs :

  • We can build programs from the standard working modules that communicate with one another, This leads to saving of development time and higher productivity.

  • It is possible to have multiple instances of an object to co-exist with out any interference.

  • It is easy to partition the work in a project based on objects.

  • Software complexity can be easily managed.

Application of OOPs :

  • Real – Time systems.

  • Simulation and modeling

  • Object oriented databases.

  • Hypertext,hypermedia and expertext.

  • Al and expert systems.

  • Neural networks and parallel programming.

  • Decision support and office automation systems.

  • CIM / CAM / CAD system.