Author Question: Explain the difference between class and object. What will be an ideal ... (Read 21 times)

karateprodigy

  • Hero Member
  • *****
  • Posts: 550
Explain the difference between class and object.
 
  What will be an ideal response?

Question 2

Patterns are generalizations of the solutions that have worked in a certain context.
 
  Indicate whether the statement is true or false



CourtneyCNorton

  • Sr. Member
  • ****
  • Posts: 317
Answer to Question 1

Class and object are often used interchangeably. And often, no harm results: class is an abstraction of similar objects and an object is a concrete manifestation of a class. (Sentences would become very awkward if everywhere we repeat class and/or objects or class and its instances.) In majority of cases, what we say about classes also applies to objects, and vice versa. It is in those minority of cases that the distinction is crucial: class is the concept, object is the realization of the concept. Class is the cookie cutter, object is the cookie. If we declare that the cookie cutter is round, we imply that the cookie would be round, too. But if we say that we want to eat a cookie, it is unlikely that we mean to eat the cookie cutter as well.

Answer to Question 2

TRUE



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Anti-aging claims should not ever be believed. There is no supplement, medication, or any other substance that has been proven to slow or stop the aging process.

Did you know?

ACTH levels are normally highest in the early morning (between 6 and 8 A.M.) and lowest in the evening (between 6 and 11 P.M.). Therefore, a doctor who suspects abnormal levels looks for low ACTH in the morning and high ACTH in the evening.

Did you know?

Signs and symptoms that may signify an eye tumor include general blurred vision, bulging eye(s), double vision, a sensation of a foreign body in the eye(s), iris defects, limited ability to move the eyelid(s), limited ability to move the eye(s), pain or discomfort in or around the eyes or eyelids, red or pink eyes, white or cloud spots on the eye(s), colored spots on the eyelid(s), swelling around the eyes, swollen eyelid(s), and general vision loss.

Did you know?

Human kidneys will clean about 1 million gallons of blood in an average lifetime.

Did you know?

Disorders that may affect pharmacodynamics include genetic mutations, malnutrition, thyrotoxicosis, myasthenia gravis, Parkinson's disease, and certain forms of insulin-resistant diabetes mellitus.

For a complete list of videos, visit our video library