Advertisements
Advertisements
प्रश्न
The maximum number of objects of a class can be created as:
विकल्प
1
2
On the user's choice
Number of variables
MCQ
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?