OOPs concepts are like girls' behaviour


Hello Everyone,

Most of the new programmers feel that Object oriented programming concepts are difficult to understand. But the fact is, Object oriented programming is as typical as Girls behavior. Of course girl is a tricky subject to understand but everyone knows the typical behavior of girls.If you know those top and typical qualities then OOPs concepts are pretty easy to understand .
Let us discuss those typical qualities of a girl.
First one: Abstraction
Girl is complete package of Ego,Jealous, selfishness,idiotic and foolishness. Unfortunately
you can't find all these in her face(otherwise you will never talk with a girl :)).She hides all these(Ego, Jealous,selfishness and Idiotic)from the outside world.Only closefrds or who are near to her behavior(instance of her) can understand her jealous. In Java terms this is called Abstraction.

Actual Definition of Abstraction:
A class may contains many variables and methods. Hiding all the unnecessary details of class from the outside world is called Abstraction. only instance of the class (object of the class) can access all the methods and variables, others can't.

Second one: 


Polymorphism and Inheritance will updated soon … 
We didn’t mean to heart  anyone its only for fun .. 


Post a Comment

2 Comments

  1. Nice Post now i understood the Abstraction Please update this post for other OOP concept.

    ReplyDelete
    Replies
    1. @Anurag Sachan: Sure i will update it soon.

      Delete