WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / vikas
In C++ terms, abstraction is achieved by access modifiers:
private and protected. Encapsulation is achieved by classes
Vikas
http://www.cppquestions.com/
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Can enum be null?
What is new keyword in oops?
Why is object oriented programming so hard?
What is oops?what is its use in software engineering?
What is inheritance in simple words?
What is interface in oop?
Is enum a class?
What is polymorphism and example?
Why oops is important?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is the main purpose of inheritance law?
is there any choice in opting subjects like 4 out of 7
What is an advantage of polymorphism?
What is class and object with example?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash