Computer Science, asked by reehanraj, 10 months ago

what is different between object and class?​

Answers

Answered by khushi7047
12

The difference is simple and conceptual. A class is a template of object. An object is a member or an instance of a class


as7069: thk h
khushi7047: hmm
as7069: mera email h mytempmail1997 gmail com
khushi7047: hmm
as7069: yad aye to krna
as7069: chlo ab back to work
khushi7047: hmm
as7069: bye bye
khushi7047: acha
khushi7047: byeee
Answered by cyrusbishop
15

Answer:

The differences between object and class  are:

1) Class- It is a representation of an abstraction only.

  Object- It is a real and unique entity having some characteristics and behaviours.

2) Class- It is an object producer and hence called a blueprint for a set of objects.

  Object- It is created with the use of the new operator.

3) Class- It is known as object factory.

   Object- It is known as an instance of a class.

4) Class- It can be declared for one time.

   Object- It can be declared several times.

Explanation:

Object have a unique identity, some definitive state or characteristics and some behaviour.

Similar questions