1.

Distinguish class and object with the help of examples.

Answer»
  • Class – A class is a collection of objects with similar attributes. 
  • Object – An object is an instance of the class. Furniture class is an example for class. Chair, Table, etc. are the instances ie. objects of the class furniture


Discussion

No Comment Found