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.
 


April 04, 2007 09:48:45 #7
 jaya   Member Since: Visitor    Total Comments: N/A 

RE: What is a class?
 
A class is a user defined data type. A class is a collection of objects of similar type
Ex: Consider Bird class. Parrot, Sparrow, Peacock are the members of Bird class.
     

 

Back To Question