Answer Posted / rajdeep gupta
Two concepts that go together in the object oriented approach are Encapsulation & Abstraction. Abstraction is the representation of only the essential features of an object, while Encapsulation is the hiding of the non-essential features.
Think of a person driving a car. He does not need to know the internal working of the engine or the way gear changes work, to be able to drive the car (Encapsulation). Instead, he needs to know things such as how much turning the steering wheel needs, etc (Abstraction).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is abstract class in oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is a class in oop?
State what is encapsulation and friend function?
Can enum be null?
Templates mean
What is static modifier?
What is oops?what is its use in software engineering?
What are benefits of oop?
Why do pointers exist?
Why do we use encapsulation in oops?
What is interface in oop?
When not to use object oriented programming?
What is destructor example?
What is protected in oop?