|
|
Subject:
OBJECT-ORIENTD PROGRAMMING
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 |
|
Subject:
Re: OBJECT-ORIENTD PROGRAMMING
Answered By: andyt-ga on 26 Sep 2004 09:01 PDT Rated: |
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 objects. 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? http://www.felgall.com/obj1.htm 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. Regards, Andyt-ga |
valeclau-ga
rated this answer:
THANK YOU |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |