What is polymorphism what is it for and how is it used?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between inheritance and polymorphism?
What is encapsulation with real life example?
Can you name some types of inheritance?
How can you overcome the diamond problem in inheritance?
is java purely oop Language?
49 Answers HCL, Infosys, TCS,
What is the difference between declaration and definition?
Can we create object of interface?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
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 Method overloading?
c++ program to swap the objects of two different classes