Answer Posted / tejavishu
combining the data and data members into a singe unit is
called the encapsulation.
ex:class.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
can inline function declare in private part of class?
What is polymorphism programming?
What does <> mean pseudocode?
What are the 4 main oop principles?
program for insertion ,deletion,sorting in double link list
What is encapsulation in simple terms?
what is different between oops and c++
Can a varargs method be overloaded?
What does oop mean in snapchat?
What is the difference between a mixin and inheritance?
What are the 3 principles of oop?
What are benefits of oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is interface in oop?
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