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  >  Concepts  >  OOPS

 Print  |  
Question:  What is the Difference between Class and Instance



June 06, 2008 15:29:11 #1
 gkay09   Member Since: June 2008    Total Comments: 2 

RE: What is the Difference between Class and Instance
 
A Class is actually a blueprint or a representation of how an Object has to be instanciated. Whereas an Object is called as the Instance of a Class.

For Eg:
  Class can be assumed as a blueprint of a car, describing how it has to look, how it has to work, so on..
  Whereas the Object is the real car.
     

 

Back To Question