Answer Posted / rashid
Class is nothing but it is the collection of data member and
variable while object is an instance of a class.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Why is there no multiple inheritance?
What does no cap mean?
What is encapsulation with real life example?
What is oops in simple words?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What are different oops concepts?
to find out the minimum of two integer number of two different classes using friend function
What is use of overloading?
Is abstract thinking intelligence?
program for insertion ,deletion,sorting in double link list
What is pointer in oop?
What is balance factor?
What is oops and why we use oops?
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 stream in oop?