Discussion :: JAVA MCQs
- Which of the following is incorrect statement about packages?
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
Explanation :
A package can be renamed only after renaming the directory in which the classes are stored.
Be The First To Comment