Being a software eng. we all understand the importance of OOPS in programming but very few of us can define OOPS efficiently. Whenever I appeared into interviews I was asked the fundamental of OOPS but you know even I was not able to answers simple questions like what is OOPS or what is class. So I try to create some definition for OOPS. It is taken from more than one book. Hopefully it would be helpful to all of you.
Let me clear all these definitions are for just expressing OPPS in interviews so full explanation is not given
OOPS: It is an approach that provides the way of modularizing the programs by creating partitioned memory area for both the data and functions that can be used as template (Class) for creating copies of such modules on demand.
Encapsulation: The wrapping up data and function into single unit is known as encapsulation.
Abstraction: It refers to the act of representing essential features without including the complex background details.
Here the template can be referred as a class and copies can be considered as an object
Showing posts with label Definitions of OOPS. Show all posts
Showing posts with label Definitions of OOPS. Show all posts
Wednesday, February 6, 2008
Subscribe to:
Posts (Atom)