Question discussion

Which of the following is FALSE about packages?

3726Medium DSSSB TGT Computer Science 0 replies 2 views
0

Which of the following is FALSE about packages?

  • APackages cannot provide controlled access.
  • BPackages are used to prevent naming conflicts.
  • CPackages are considered data encapsulation.
  • DPackages are used to prevent naming conflicts, and packages are considered data encapsulation.
Correct answer: A

Explanation

Packages do provide controlled (access-protected) access, so statement 1 is false.

Discussion 0

Nobody has replied yet. Start the discussion!