English

The maximum number of objects of a class can be created as: - Computer Applications

Advertisements
Advertisements

Question

The maximum number of objects of a class can be created as:

Options

  • 1

  • 2

  • On the user's choice

  • Number of variables

MCQ

Solution

On the user's choice

Explanation:

Most programming languages (such as Python, Java, and C++) have no fixed limit on the number of objects (or instances) that can be created for a given class. The only limitations on the number of objects are: Available memory: Your system's memory may limit the number of items you can create. User logic: The user determines how many instances are required.

shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Class as the Basis of all Computation (Objects and Classes) - EXERCISES [Page 382]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 6 Class as the Basis of all Computation (Objects and Classes)
EXERCISES | Q I. 7. | Page 382
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×