Objects
Object Oriented pradigm is, imagining everything as Object, such that, in given situation the available components will be first identified as object.
For example, if you need to implement a Student Management system, firt step for the developer is to identify the objects to solve the student managment system.
What is OOP?
In Object oriented programming or paradigm, object is first class citizen the object can be
-
Can be assinged to a variable
-
Can be passed as arguments to other funcitons or methods
-
Can be returned as values from other funcitons or methods
-
Can be stored in data structures
student management system will be having following objects
- Student
- Professor
- Department
- School
- Course
each of the above is object and each object will have properties of their own and methods to operate on them.