Answer Posted / vadivel
namespace is used to avoid class name collision.
| Is This Answer Correct ? | 28 Yes | 7 No |
Post New Answer View All Answers
What is polymorphism and its types?
What is the point of polymorphism?
What is balance factor?
What is and I oop mean?
What is object in oops?
What is polymorphism explain?
write a program that takes input in digits and display the result in words from 1 to 1000
What is the advantage of oop over procedural language?
What is byval and byref? What are differences between them?
What is the difference between a mixin and inheritance?
What is polymorphism in oop example?
Why do we need polymorphism in c#?
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
What is the difference between encapsulation and polymorphism?
#include