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
Why do while loop is used?
Can a destructor be called directly?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
write a program that takes input in digits and display the result in words from 1 to 1000
What are functions in oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
why reinterpret cast is considered dangerous?
How to hide the base class functionality in Inheritance?
is there any choice in opting subjects like 4 out of 7
Why is oop useful?
Why do we need polymorphism in c#?
What is oops and why we use oops?
What is protected in oop?
How to improve object oriented design skills?
What are the features of oop?