हिंदी

Consider the above picture and choose the correct statement from the following: - Computer Applications

Advertisements
Advertisements

प्रश्न

Consider the above picture and choose the correct statement from the following:

विकल्प

  • Polygon is the object and the pictures are classes

  • Both polygon and the pictures are classes

  • Polygon is the class and the pictures are objects

  • Both polygon and the pictures are objects

MCQ

उत्तर

Polygon is the class, and the pictures are objects

Explanation:

The class is a polygon, and its types include triangle, parallelogram, and pentagon. As a result, they fall under the Polygon class.

shaalaa.com
Creating an Object of a Class
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (February) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×