Originally posted by manas ranjan mandal: can anyone explain what is oops concept?
oop's bject oriented programming's concept.
having 4 major properties: polymorphism : Takes more than one form [runtime,compile time] Abstraction : Hiding the data [objects] Inheritance : inheriting the properties of another class/interface Encapsulation: Data binding [access modifiers] [ May 15, 2008: Message edited by: Campbell Ritchie ]
I have edited your post with the "disable smilies" box otherwise you had a stray
Joined: Oct 13, 2005
The object-oriented paradigm works on the basis that "objects" have both data (fields) and behaviour (methods) and the "behaviour" operates on the "data." In OO programming we pass messages (method calls) from one object to another which initiate the "behaviour."
Originally posted by Campbell Ritchie: The object-oriented paradigm works on the basis that "objects" have both data (fields) and behaviour (methods) and the "behaviour" operates on the "data." In OO programming we pass messages (method calls) from one object to another which initiate the "behaviour."
And a very important part is that different objects can react to the same message with different behavior. (Also known as Polymorphism.)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Q. What are the advantages of Object Oriented Programming Languages (OOPL)? A. The Object Oriented Programming Languages directly represent the real life objects like Car, Jeep, Account, Customer etc. The features of the OO programming languages like polymorphism, inheritance and encapsulation make it powerful. [Tip: remember pie which, stands for Polymorphism, Inheritance and Encapsulation are the 3 pillars of OOPL]
Q. How does the Object Oriented approach improve software development? DC A. The key benefits are:
Re-use of previous work: using implementation inheritance and object composition. Real mapping to the problem domain: Objects map to real world and represent vehicles, customers, products etc: with encapsulation. Modular Architecture: Objects, systems, frameworks etc are the building blocks of larger systems.
The increased quality and reduced development time are the by-products of the key benefits discussed above. If 90% of the new application consists of proven existing components then only the remaining 10% of the code have to be tested from scratch.