OOP

Encapsulation With Example And Benefits In Java & OOP
||
Object-oriented programming tries to model real-life objects into the programming world. This makes the programs easy to co-relate with real-world and understand. Encapsulation is one of the key concepts which plays crucial role in this modelling, along with Abstraction and...
continue reading
Data Abstraction, Control Abstraction In Java & OOPs
||
English meaning of abstraction Something that exists only as an idea. Technical translation Abstraction is the concept of representing something at high level, without going into too much details. Anyone involved into object oriented programming would be already aware of...
continue reading
Decorator Pattern Explained
||
In recent posts, we identified what issues can arise if we keep going with the design shown in Class Explosion and Etymology Of Decorator Pattern. Lets take a quick look at what fundamental design problems exists in this design. Exsisting...
continue reading
Etymology Of Decorator Pattern
||
Today our purpose is to know why and when to use decorator pattern. In last post about class explosion, we found that there is class explosion if we go with the first trial. Now what we can do to improve...
continue reading