| |
GeekInterview.com > Interview Questions > Programming > C++
| Print | |
| Question: What is a class?
Answer: Class is a user-defined data type in C++. It can be created to solve a particular kind of problem. After creation the user need not know the specifics of the working of a class. |
| September 09, 2005 08:58:09 |
#2 |
| hirma |
Member Since: Visitor Total Comments: N/A |
RE: What is a class? |
| class is a userdefined datatype which consists of attributes(datamembers) and behavior(member functions).Bydefault the members of a class is private. |
| |
Back To Question | |