Definition of class?

Answer Posted / adnan sheikh

A class is the collection of related function and data
together and object is the instance of the class

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define virtual constructor.

636


Which programming language should I learn first?

572


Explain terminate() and unexpected() function?

620


How are Structure passing and returning implemented by the compiler?

593


What is the difference between the parameter to a template and the parameter to a function?

626






Is facebook written in c++?

558


What is math h in c++?

602


what are function pointers?

571


What are the various oops concepts in c++?

588


What causes a runtime error c++?

576


When do you call copy constructors?

640


How to declare a pointer to an array of integers?

640


Why do we need runtime polymorphism in c++?

553


What is the use of endl?

537


How many types of classes are there in c++?

589