Object-Orient Programming(OOP) is a different way of programming an applications."Object" enable you to more closely model in code the real-world tasks,processes and idea that your application is designed to handle.
For example,when house is being constructed , the plumbers(class A) deal with the pipes,and the electricians(class B) deal with the wires.the plumbers don't need to know how wires were made,electricians don't need to know how pipes were made. they only concern on themselves only with their own activities.
the plumbers----class A
the electricians-----class B
The house-----application(your program)
For example,when house is being constructed , the plumbers(class A) deal with the pipes,and the electricians(class B) deal with the wires.the plumbers don't need to know how wires were made,electricians don't need to know how pipes were made. they only concern on themselves only with their own activities.
the plumbers----class A
the electricians-----class B
The house-----application(your program)
No comments:
Post a Comment