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