PDA

View Full Version : define abstraction in c++ 2011



saneha
05-02-2011, 06:38 AM
plz explian the defination of abstraction?

Vuhelper
05-02-2011, 06:39 AM
Abstraction is infact an OOP concept that deals with "Relevancy". Put only relevant information in an object ans remove irrelevancy with in a particular scenario.
For example, if you want Student Record that is used by Exam department , So, in this scenario, Exam department doesn't require information about student's brother as they only concern your marks, CGPA Roll No etc.
So, putting relevant information as required in a particular scenario is the Abstraction.