GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  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.
 


March 03, 2007 07:51:13 #6
 dharmagee   Member Since: February 2007    Total Comments: 1 

RE: What is a class?
 
Class is a data structure which is used to store variables and functions together. For example House is a class which consists of several components like the Bathroom,Dining hall,kitchen and etc
     

 

Back To Question