Advertisements
Advertisements
प्रश्न
A package contains:
विकल्प
Tags
Classes
Data
Arrays
MCQ
उत्तर
Classes
Explanation:
A package in Java is a namespace that contains a collection of linked classes and interfaces. It reduces naming conflicts and makes code easier to maintain and manage. Packages can contain sub-packages, but their primary purpose is to organise classes together.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?