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

Difference between overloaded functions and overridden functions

812


What are the types of array in c++?

805


What is the difference between #import and #include in c++?

820


Explain unexpected() function?

808


Can a program run without main function?

874


Define Virtual function in C++.

835


What are the uses of c++ in the real world?

768


What is the object serialization?

846


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

779


Does c++ support exception handling?

792


What is a base class?

803


How did c++ get its name?

766


What is the main purpose of c++?

774


What is c++ best used for?

775


What is endl c++?

841