Java - OOPs( Object Oriented Programming System )

Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance by providing some concepts:
  1. Object : is a instance of a class.
  2. Class : is a template/blue print/ description to create a object.
    Consider Person as a class. Now we can have some properties associated with this class Person such as :
    1. Attributes
    2. Functionalities
    1. Attributes of Person :
    Name of Person, Gender, Skin Color,and Hair Color etc.
    2. Functionalities of Person :
    Talking, Walking,and Eating.
    Now this is just a template , called as Class , and Object is instance of the class.
  3. Inheritance
    In inheritance a new class is created from an existing class.(inheriting a feature, property or anything from one to another.)
    In programming, some codes for one class can be inherited from another class so that coding time can be reduced.
  4. Polymorphism :
  5. Abstraction : Hiding internal implementation details. Abstraction is a process where you show only relevant data and hide unnecessary details of an object from the user. Consider your mobile phone, you just need to know what buttons are to be pressed to send a message or make a call, What happens when you press a button, how your messages are sent, how your calls are connected is all abstracted away from the user.
    Encapsulation is the process of combining data and functions into a single unit called class.
  6. Encapsulation:

    టీమ్ ప్లేయర్ : 'నేను ఒక్కన్నే ఎదగాలి. ఈ విజయం నాకు మాత్రమే సొంతం కావాలి. ' అని మీరు అనుకుంటే అక్కడితో మీ ఎదుగుదల ఆగిపోయిన్నట్లే.

    Coming together is a beginning.
    Keeping together is progress.
    Working together is success. | Raju