What is meant by a package?
Advertisements
प्रश्न
What is meant by a package?
What is a package?
संक्षेप में उत्तर
टिप्पणी लिखिए
Advertisements
उत्तर
- A package in Java is a mechanism for organising Java classes into namespaces similar to the modules of Modula. Java packages allow classes in the same package to access each other’s package-access members.
- Example: The built-in functions Math.sqrt(), Math.pow() can be used directly in our programs by importing the built-in package java.lang.
shaalaa.com
Introduction of Operators in Java
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
