English

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

Advertisements
Advertisements

Question

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

Options

  • 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

Solution

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
  Is there an error in this question or solution?
2023-2024 (February) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.