Discuss Forum

1.

which of the following is an incorrect statement about packages?

  • A. Package defines a namespace in which classes are stored
  • B. Package defines a namespace in which classes are stored
  • C. Package defines a namespace in which classes are stored
  • D. Package defines a namespace in which classes are stored

Answer: Option D

Explanation:

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

Post your comments here:

Name:
Mobile:
Email:(Optional)

» Your comments will be displayed only after manual approval.