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
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 63 of 64    Print  
What is the Difference between Class and Instance

  
Total Answers and Comments: 3 Last Update: August 13, 2008     Asked by: pohme_pohme 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 26, 2008 15:29:11   #1  
gkay09 Member Since: June 2008   Contribution: 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.

 
Is this answer useful? Yes | No
June 26, 2008 15:35:03   #2  
gkay09 Member Since: June 2008   Contribution: 2    

RE: What is the Difference between Class and Instance
Adding to the above answer,

The instance is the actual object created at runtime

 
Is this answer useful? Yes | No
August 13, 2008 10:46:40   #3  
vikas_3000 Member Since: August 2008   Contribution: 5    

RE: What is the Difference between Class and Instance
Class describes the general behaviour of objects where as instance is the condition of class at a particular time (run time).
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape