Google Answers Logo
View Question
Q: OBJECT-ORIENTD PROGRAMMING ( Answered 4 out of 5 stars,   0 Comments )
Category: Computers > Programming
Asked by: valeclau-ga
List Price: $2.00
Posted: 26 Sep 2004 08:27 PDT
Expires: 26 Oct 2004 08:27 PDT
Question ID: 406488
What would be classes of the following objects?

a)     Madonna
b)     English
c)     Pretzel
d)     Java
Answered By: andyt-ga on 26 Sep 2004 09:01 PDT
Rated:4 out of 5 stars
Hi valeclau-ga,

One way to think about the differences between classes and objects is
that a class is a template for an instantiated object.  In other
words, for each class defined there can be an unlimited number of

a) Madonna object could be defined by a class called Actress

b) English object could be defined by a class called Language

c) Pretzel object could be defined by a class called Food

d) Java object could be defined by a class called ProgrammingLanguages

Here's a link that further explains the difference between classes and
objects.  Don't be discouraged if it's tough to get a handle on, many
people new to OOP (Object Oriented Programming) have a hard time with
this concept.

What is the difference betweeen a class and an object?

Search used:
difference between class and object

If you have any questions, please post a clarification request before
closing/rating my answer and I'll be happy to reply.

valeclau-ga rated this answer:4 out of 5 stars

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy