Home » JAVA Programming » Packages » Question
  1. Which of the following is an incorrect statement about packages?
    1. Java uses file system directories to store packages
    2. Package defines a namespace in which classes are stored
    3. A package can be renamed without renaming the directory in which the classes are stored
    4. A package can contain other package within it
    5. None of these
Correct Option: C

A package can be renamed only after renaming the directory in which the classes are stored.



Your comments will be displayed only after manual approval.