Tamil Nadu Board of Secondary EducationHSC Science Class 11th

Differentiate classes and objects. - Computer Science

Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads
Distinguish Between

Differentiate classes and objects.

Advertisement Remove all ads

Solution

Class:

  • 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.
Concept: Introduction to Object Oriented Programming Techniques
  Is there an error in this question or solution?
Chapter 13: Introducton to Object Oriented Programming Techniques - Evaluation - Section - B [Page 232]

APPEARS IN

Tamil Nadu Board Samacheer Kalvi Class 11th Computer Science Answers Guide
Chapter 13 Introducton to Object Oriented Programming Techniques
Evaluation - Section - B | Q 2. | Page 232
Share
Notifications

View all notifications


      Forgot password?
View in app×