what is an instance of a class

Answer Posted / kavita

objects are defined as real world entities that are
instances of a class

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is enum a class?

598


What is oops?what is its use in software engineering?

550


What is object and class in oops?

573


What is polymorphism and example?

585


How to use CMutex, CSemaphore in VC++ MFC

4322






Write a program to reverse a string using recursive function?

1784


What is coupling in oops?

587


What are the benefits of polymorphism?

612


can we make game by using c

3409


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

1685


Why do we use polymorphism in oops?

571


What do you mean by abstraction?

603


Why do we need oop?

656


What is difference between oop and pop?

607


What is abstraction in oops?

578