Sail E0 Webinar
Question
Which of the following is incorrect statement about packages?
Options:
A .  Package defines a namespace in which classes are stored.
B .  A package can contain other package within it.
C .  Java uses file system directories to store packages.
D .  A package can be renamed without renaming the directory in which the classes are stored.
Answer: Option D


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers