OOP was built to help manage complexificación software through abstraction. In POO, build small segments of bits of code that corresponds more closely to the way you think about your program and how your program reflects the real world .
* OOP provides abstraction through four :
fundamental concepts or objects
Let’s look at each of these concepts :
POO is based on the concept of objects. The objects are like black boxes of functionality that are completely independent of any code that references or uses .
* The objects can be consideradospor exhibit both characteristics. The objects have properties and methods of objects .
* Properties describe the qualities of an object, while the methods of specifying the behavior of the object .
| El Gato
| Eye Color
| footed mice
|kind|| destroys the sofa < >
Although this is not a perfect analogy, sometimes when it comes to finding out what an object looks like, create the objects in terms of names, properties terms of adjectives, and methods in terms of verbs.