Answer Posted / ranjith jayan
a class is a collection of similar objects. ex: orange is
an object for the class fruits
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
How to call a non virtual function in the derived class by using base class pointer
Why multiple inheritance is not allowed?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
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 are the three parts of a simple empty class?
What is the importance of oop?
What does and I oop mean?
What is oops concept with example?
What is encapsulation example?
What is difference between abstraction and encapsulation?
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 can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
How do you explain polymorphism?
What is destructor oops?
What is debug class?what is trace class? What differences are between them? With examples.