Posts

Showing posts with the label MS - Sem1 - OO Analysis and Design - post 1

MS - Sem1 - OO Analysis and Design - post 1

OO principles (The four fundamentals) – Abstraction (a simplified description)                 “An abstraction denotes the essential characteristics of an object that distinguish it from all other kind of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer” – Encapsulation                 In general, encapsulation is one of the four fundamentals of OOP (object-oriented programming). Encapsulation is to hide the variables or something inside a class, preventing unauthorized parties to use. So the public methods like getter and setter access it and the other classes call these methods for accessing. •Information hiding               •Interface –Implementation                                 •Behavior & Data In his book on object-oriented design , Grady Booch defined encapsulation as "the process of compartmentalizing the elements of an abstraction that constitute its structure and behavior; encapsulation