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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?