Tuesday, 24 February 2015
Slog 4
OOP (Object Oriented Programming) is type of programming that relies upon the use of data structures that contain data, also referred to as objects, and upon methods that is just a series of code that perform different tasks or procedures. A major part of OOP is creating different objects that interact with each other and are comparable based on the similar characteristics obtained from methods. Objects are instances of classes that are assigned their properties from methods and can easily be compared to other similar objects from similar classes. Classes can inherit from other classes in order to create objects with similar characteristics from all the inherited classes. Using an OOP approach to programming forces the programmer to place data in an area that can not be easily accessed by the rest of the system. The data is stored within the methods and must be called in order to retrieve or modify the data stored in them. With OOP code can easily be reused again and again in different scenarios to solve problems.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment