Answer Posted / anilkuma
In c++ classes are used for protect data,nothing but we can
provide more secure for data in c++ classes
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is oops with example?
What is pure oop?
Why polymorphism is used in oops?
What is methods 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
Why do we need oop?
What is a class in oop?
What is interface in oop?
#include
What is interface? When and where is it used?
Are polymorphisms mutations?
What is the real time example of encapsulation?
What is abstraction in oops?
How do you achieve polymorphism?
what are the ways in which a constructors can be called?