Fundamental but do reply onthese defination

i have actually understood the concepts of a class , object and abstraction but can anyone give a exact defination of these concepts

Bosun Bello

Ranch Hand

Posts: 1512

posted 15 years ago

It's a good thing that you've actually understood the concept. As for an exact definition, if you look at 5 different texts their definitions of these concepts will differ somewhat. But the concept still stays the same.

Bosun

Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley

anis mistry

Ranch Hand

Posts: 52

posted 15 years ago

Originally posted by Bosun Bello:It's a good thing that you've actually understood the concept. As for an exact definition, if you look at 5 different texts their definitions of these concepts will differ somewhat. But the concept still stays the same.

Bosun

anis mistry

Ranch Hand

Posts: 52

posted 15 years ago

Thank you bosun for your reply but still i insist on definitions from inteview point of view give atleast one but the best definition for each concept.

Dharmesh Chheda

Ranch Hand

Posts: 204

posted 15 years ago

Whats a class? A. Its can be thought of as a user defined data type.A class defines the structure and behaviour which is shared by a set of objects.Whats an object? A. Its an instance of the class well it can now be usderstood that the class is a logical construct; an object has a physical reality. ------------------ IBM Certified WebSphere Application Server V3.5 Specialist [This message has been edited by Dharmesh Chheda (edited November 30, 2001).]

regards,<br />Dharmesh Chheda

tej_bal

Greenhorn

Posts: 3

posted 15 years ago

Originally posted by anis mistry:i have actually understood the concepts of a class , object and abstraction but can anyone give a exact defination of these concepts

Class can be thought of as template, and objects are derived from that template. When objects are created memory is allocated to that object so that it could be further used.