Why OOPs?
- OOPs stands for “Object Orient Programming System”. It’s a technique
not technology.
- It means, it does not provide any syntaxes or API’s, instead
it provides suggessitions to design and develop objects in programming
language.
- This technique is introduced to represent real world object
in programming languages, the objects such as person, Animal, Shape, Vehicle,
etx… and further to achieve security and to communicate with other programming
languages, such as C,C++,.NET,PHP,HTML,JAVA etc… with proper connectors.
- All living and non-living things are considered as object.
- If we developed
project according to real world object behavior we will get many advantages.
Definition of OOPs:
- OOP is an approach that provides a way of modularizing a
program by creating partitioned memory area for both data and methods that can
be used as template for creating copies of such modules on demand.
- Unlike procedural programming, here in the OOP programming model,
programs are organized around objects and data rather than actions and logic.
Building blocks of OOP: The building blocks of OOP are
- Class
- Object
- Every java program must start with a class, because using
class only we can represent real world objects like person, Bike, Animal.
No comments:
Post a Comment