OOPS Concept with Real-world example

Leave a Comment
Introduction OOP is Nothing but Object Oriented Programming.According to Wikipedia,  Object-oriented programming (OOP) is a programming paradigm that uses "objects" and their interactions to design applications and computer programs. OOPs have following features 1. Object   - Instance of class 2. Class    - Blue print of Object 3. encapsulation  - Protecting our data 4. polymorphism   - Different behaviors at diff. instances 5. abstraction    - Hidding our irrelavance data 6. inheritence...