answersLogoWhite

0

An object is an instance of a class. A class is the broad definition of something, and an object is one particular one of those. In the real world Dog is a class. A particular individual dog is an object. The class defines what a dog is, what characteristics it has, what it can do etc.

In computing you could have a bank account class, defining characteristics and things that you can do with it. It could define that a bank account has an account number, the owner of the account, a balance, a facility to lodge money, a facility to with draw money etc. That is the case for any bank account. Your bank account is an object, an instance of that class. Your account isn't my account, but both of our accounts are objects and have the characteristics as defined by the bank account class.

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

What difference between package class and object?

A package is a grouping of similar classes. A class is a blue print for making an object. An object is, well, an object.


What is the difference between a class method and object in object-oriented C?

Class methods are the member functions that act upon member variables. An object is an instance of a class. C does not support object-oriented programming, but C++ does.


What is containment in oop?

When an object in created within another object, the relationship between them is containment.


What is difference between classes and objects?

Posted by : Govind Singh Lodhithese are the following differences between java class and object.1. Class is a way of bind data member and method in single unit where as a object is a value form of a class or a instance of a class that means allocating sufficient amount of memory space.2. When we define a class ,there is no memory space allocated for data member of a class where as when we create a object of a class memory space is allocated for data members of a class.3.Class will have exist logically where as object will have exist physically.4.One class can have only one name where as corresponding one class we can create multiple object.5.Class load in main memory by using class loader subsystem where as after load class we can create multiple objects of a class.


What is the difference between association class and abstract class in software designing?

Association class is describing the relationship between classes. An abstract class is just 1 class, provides some abstraction behaviors that may be (but do not have to) derived, overridden from.

Related Questions

Which object-oriented concept defines the relationship between a subclass and a super class?

Inheritance


What is the definition of class bound?

Class bound refers to the relationship between an object and a specific class in object-oriented programming. It determines how tightly an object is associated with its class, influencing how the object can interact with other objects and classes in the program. The class bound establishes the behavior and properties that an object inherits from its class.


What is the relationship between logic and language?

whatisthe relation ship between logic and language


What difference between package class and object?

A package is a grouping of similar classes. A class is a blue print for making an object. An object is, well, an object.


What type of pronoun show a relationship in location between the speaker and the object?

Demonstrative pronouns show the relationship between a subject and the object. The demonstrative pronouns are this, that, these, and those.


The relationship between a thing or object and its meaning is?

The relationship between a thing or objects and its meanings is a system of meanings.


What is the relationship between stock control department and stores department?

[object Object]


What is the relationship of Front Office Department and Security Department?

relationship between the front office and the security office


What is the relationship between the distance of the object and the screen?

my sinep


What is the relationship between the speaker of the poem and the person who kills the Jabberwock?

What is the relationship between the speaker of the poem and the person who kills the Jabberwock?


What is the difference between classes and object in C?

An object is an INSTANCE of a class. Human is a class, while YOU are a person, an instance of Human class, but YOU do not represent the entire human class. Or, a class provides the abstraction, and an object is a typical example of that abstraction. Classes provide a blue print to build a real instance of an object.


Can a direct object show relationship between it's object and some other word in a sentence?

yes, it can show a relationship to a noun.