answersLogoWhite

0

A class is an abstract idea. It's that "thing" you wrote the source code for.

An object is an instance of a class.

Example:

// Integer is the class; i is the instance of class Integer

Integer i;

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

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 difference between struct variable and class object?

structure variable can access the variable but class object can access the function also


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 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.


What is the difference between the class and the entity?

A class is a type. An entity is a object created from this type. A class is like a definition and the entity behaves as per this definition.


Difference between class diagram and object diagram with necessary diagram and figure?

Class diagram represent generalized view of system while object diagram represent view of a system at a particular instant.


What's the difference between the Class 365 and Class 465 466?

The difference between the Class 365 and Class 465, 466 is basically the cost.


Difference between exclusive or inclusive class intervals?

difference between inclusive and exclusive class interval


What is the difference between a form file object and a windows form object?

difference between a form file and a form.


What is difference between first class and second class on train trips?

What is the difference between buying a 1st class and a 2nd class ticket on the train in England?


difference between tripitaka and jataka?

[object Object]


What is the difference between force and tension?

[object Object]