I ll try to best explain this with an example. Imagine a counter at some mall for the products available. Anyone and everyone who is present there will be in that queue. All of them will get what they want and hence logically will end up doing the job. But consider different counters for different products. Also a separate help desk to tell these people which counter is for which and a separate cash counter. Wouldn't that make things much simpler, organized, faster and error free. Thats just the difference between procedural programming and OOPS. Besides that whatever that can be done in procedural programming can be replicated in OOPS comfortably but not vice versa. Hence we have OOPS as the method of choice for programmers today.
Answered by Narayanan
at
11:20 PM on September 02, 2007