Features of Object Oriented Programming (OOP)

Engg.... | 01:37 | | Best Blogger Tips
features of oop

FEATURES OF OOP:
  1. Object
  2. Class
  3. Data Hiding and Encapsulation
  4. Dynamic Binding
  5. Message Passing
  6. Inheritance
  7. Polymorphism
Brief Explanation of Points:

OBJECT: Object is a collection of number of entities. Objects take up space in the memory. Objects are instances of classes. When a program is executed , the objects interact by sending messages to one another. Each object contain data and code to manipulate the data. Objects can interact without having know details of each others data or code. 



CLASS: Class is a collection of objects of similar type. Objects are variables of the type class. Once a class has been defined, we can create any number of objects belonging to that class. Eg: grapes bannans and orange are the member of class fruit.
Example:
Fruit orange;
In the above statement object mango is created which belong to the class fruit.
NOTE: Classes are user define data types.

DATA ABSTRACTION AND ENCAPSULATION:
Combining data and functions into a single unit called class and the process is known as Encapsulation.Data encapsulation is important feature of a class. Class contains both data and functions. Data is not accessible from the outside world and only those function which are present in the class can access the data. The insulation of the data from direct access by the program is called data hiding or information hiding. Hiding the complexity of proram is called Abstraction and only essential features are represented.In short we can say that internal working is hidden.

DYNAMIC BINDING: Refers to linking of function call with function defination is called binding and when it is take place at run time called dynamic binding.

MESSAGE PASSING: The process by which one object can interact with other object is called message passing.

INHERITANCE: it is the process by which object of one class aquire the properties or features of objects of another class. The concept of inheritance provide the idea of reusability means we can add additional features to an existing class without Modifying it. This is possible by driving a new class from the existing one. The new class will have the combined features of both the classes.
Example:  Robine is a part of the class flying bird which is again a part of the class bird. 

POLYMORPHISM: A greek term means ability to take more than one form. An operation may exhibite different behaviours in different instances. The behaviour depends upon the types of data used in the operation.
Example:
  • Operator Overloading 
  • Function Overloading

Please Share it! :)
Do you like this Story?

Get Free Email Updates Daily!

Follow us!

64 comments:

  1. Replies
    1. A really nice justification. Justification is to the point and is better and much more easier to read.

      Delete
    2. Hola peeps,

      Your blog is such a complete read. I like your approach with Features of Object Oriented Programming (OOP). Clearly, you wrote it to make learning a cake walk for me.


      The problem is on initial bootup. I enter my username and password but Linux is telling me it is incorrect and won’t let me continue. I went to the website and changed my password but still nothing.
      The inode contains info about the file-size, its location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode.
      I read multiple articles and watched many videos about how to use this tool - and was still confused! Your instructions were easy to understand and made the process simple.

      Merci,
      Kevin

      Delete
    3. try typing username= root and password= root

      Delete
  2. These are the very basics and well clearly explained. I recently had this question about OOP being able to use not only for Java like pure object oriented languages, but on client side language like javascript, even there is no co-relation.

    Regards,
    Creately

    ReplyDelete
  3. Waooow!!! Really very cool site of blogs. You can imagine what you have done for me. theresumeprofessionals.com

    ReplyDelete
  4. It really helps me with these brief notes...

    ReplyDelete
  5. nice. thank you for the notes :)

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Very informative article.Thank you author for posting this kind of article .



    http://www.wikitechy.com/view-article/oops-concept-in-java-with-example



    Both are really good,
    Cheers,
    Venkat

    ReplyDelete
  8. Logged first time to OOP yup I can understand even i am from commerce background, good

    ReplyDelete
  9. This is wonderful blog. The contents over here are so informative. For more on this topic, visit here.. Features of Object Oriented Programming (OOP) | Reference Notes

    ReplyDelete
  10. It's nice because it is easy to understand

    ReplyDelete
  11. Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more .
    java training in chennai

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. It was short easy and understandable

    ReplyDelete
  14. It was short easy and understandable

    ReplyDelete
  15. Thanks for your informative article. Oops allows you to create stunning of java application loaded with more features and enhanced priority. With basis on Java coding language, you can create stunning mobile application with ease. Learn Android Training


    Android Training in Chennai

    ReplyDelete
  16. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
    Java Training in Chennai

    ReplyDelete
  17. Thanks for sharing the good information about java.I really very happy to read your blog. Thanks for sharing


    Core Java Online Training

    ReplyDelete
  18. I have read your blog and i got a very useful and knowledgeable information from your blog.You have done a great job .



    Android Training in Chennai

    ReplyDelete
  19. Check your example in the class explanation
    mango /= orange;

    ReplyDelete
  20. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  21. You made some good points there. I did a search on the topic and found most people will agree with your blog.Android Training in Bangalore

    ReplyDelete
  22. Short but more informative. Thank you

    ReplyDelete
  23. This is most important topic of Java programming this questions is asked in every examination Features of Java

    ReplyDelete
  24. Well explained concept about C++ .Good!!!

    ReplyDelete
  25. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.I think your suggestion would be helpful for me. I will let you know if its work for me too. Thanks and keep post such a informative blogs.
    Hadoop Training in Chennai
    Big Data Training in Chennai
    Python Training in Chennai
    Python Training Centers in Chennai
    Data Science Training in Chennai
    Data Science Course in Chennai
    Data Analytics Training in Chennai
    Best AngularJS Training in Chennai
    AngularJS Training in Chennai
    QlikView Training in Chennai
    Informatica Training in Chennai

    ReplyDelete
  26. I believe there are many more pleasurable opportunities ahead for
    individuals that looked at your site.


    java training in chennai


    java training in bangalore

    ReplyDelete
  27. Again at this blog as I like the articles over here. Feature of Object Oriented Programming is worth reading.

    ReplyDelete
  28. Learned a lot of new things from your post , Thaks for sharing

    Java Online Training

    ReplyDelete
  29. Observe newest web marketing trends. Buy YouTube subscribers and Compete your competitors. buying youtube subs

    ReplyDelete
  30. Ciitnoida provides Core and java training institute in

    noida
    . We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-

    oriented, java training in noida , class-based build

    of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an

    all-time high not just in India but foreign countries too.

    By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13

    years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best

    Java training in Noida.

    java training institute in noida
    java training in noida

    ReplyDelete
  31. Best Summer Internship In Noida

    These technologies prepare individuals for fields like software programming, technical support, graphic design, software testing, business analytics. Embedded Systems, Industrial Automation Training and more. Candidates go through a series of comprehensive practical sessions where they work on live problems and implement solutions on real-time basis.
    It has a dedicated placement cell which provides 100% placement assistance to students. The benefits that a student gets out of summer training are innumerable. CIITN,Best Summer training Center for B.Tech/CS/CSE/IT/ BCA/MCA/ B.E /M.tech / B.sc/ M.sc/ Engineering Student has already accomplished itself successfully in the field of Training and Development after setting milestones and bringing smiles to the faces of more than 1 Lakh students. CIITN was incorporated in the year 2002 and over the years CIITN has grown remarkably into the greatest training giant of Northern India.
    There is no looking back to technology! Those passionate for it need not worry about the professional prospects it offers. Courses and trainings in the field of Computer Science and Applications open a wide array of choices for individuals. All you need to do it prepare yourself right!

    Summer Internship Course In Noida

    Summer Internship Training In Noida

    ReplyDelete
  32. The information which you have provided is very good. It is very useful who is looking for selenium Online Training Bangalore

    ReplyDelete