English

Define an object with an example. - Computer Applications

Advertisements
Advertisements

Question

Define an object with an example. 

Definition

Solution

It is a unique entity having some characteristics and behaviours. It is known as the 'Instance of a Class'.

Example: If we consider the class "Fruits," then different varieties of fruits such as banana, apple, and pear are objects in the category "Fruits." Each fruit belongs to the class "Fruits," which has comparable behaviours and characteristics.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - EXERCISES [Page 16]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.02 Elementary Concept of Objects and Classes
EXERCISES | Q III. 2. (ii) | Page 16
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×