Advertisements
Advertisements
प्रश्न
A package is a:
विकल्प
Collection of data.
Collection of functions.
Collection of classes.
A nested class.
MCQ
उत्तर
Collection of classes.
Explanation:
In programming, a package (for example, in Java or Python) is a collection of classes that may include interfaces, sub-packages, and modules. By grouping relevant classes, packages help to organize code logically and encourage modularity.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?