English

Differentiate classes and objects. - Computer Science 1

Advertisements
Advertisements

Questions

Differentiate classes and objects.

Differentiate between Class and Object.

Distinguish Between
Advertisements

Solution

Class:

  • A class is a blueprint or template from which objects are created.
  • Class doesn’t allocate memory when it is created.
  • Class is a logical entity.

Object:

  • The object is an instance of a class.
  • Objects allocate memory when it is created.
  • The object is a physical entity.
shaalaa.com
  Is there an error in this question or solution?
Chapter 13: Introducton to Object Oriented Programming Techniques - Evaluation - Section - B [Page 232]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 13 Introducton to Object Oriented Programming Techniques
Evaluation - Section - B | Q 2. | Page 232
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×