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]

Trending Questions
Quality and reliability are related concepts but are fundamentally different in a number of ways Discuss them? Can use stone dust as a filler material for bituminous concrete? How do you calculate how to split a 7.5Kw load over 3 phases? Why do people need to develop alternative sources of renewable energy and become less dependent on fossil fuels? What is the organizational structure of management in a power plant? How is a Residual Current Device or RCD different to a Ground Fault Circuit Interrupter or GFCI? What is the minimum value of power factor of a circuit can have under what circumstances can this occur? How data is represented in dbms? Why converting a base class pointer to a derived class pointer is consider dangerous by the compiler? What is the minimum value of Ir test in 11kv cables? If you are considering Ch 7 but do not want to include a newly purchased vehicle are you able to still file? In which layer will liquid petroleum be found in the oil trap shown in figure 4-1? What is better civil or electronics for engineering? What are the codes called that surround the HTML text? Accidentally drop cardboard down the toilet how do you get it out? Purpose of minimum flow line for centrifugal pump? How is hooke's law releted to torque wrench action? What are the procedure of construction of a well foundation? Is there a way to calculate the physical length of the groove on a compact disc based on the time length of the track? Which error is the violation of grammar rules of a programming language?