English

What is meant by a package? - Computer Applications

Advertisements
Advertisements

Questions

What is meant by a package? 

What is a package?

Answer in Brief
Short Note

Solution

  1. 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. 
  2. 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
  Is there an error in this question or solution?
Chapter 1.05: Introduction to Java - Review Insight [Page 52]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.05 Introduction to Java
Review Insight | Q 6. (i) | Page 52
Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.06 Input in Java
EXERCISES | Q IV. 2. (i) | Page 66
Avichal Computer Applications [English] Class 10 ICSE
Chapter 2 Library Classes
EXERCISES | Q VII. 1. | Page 179
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×