Question discussion

Identify the descending order of strict access protection.

3137Medium DSSSB TGT Computer Science 0 replies 2 views
0

Identify the descending order of strict access protection.

  • APublic, protected, private, package
  • BPrivate, protected, package, public
  • CPublic, private, protected, package
  • DPrivate, package, protected, public
Correct answer: B

Explanation

From the strictest to the most open: private, protected, package, public (official answer key: option 2).

Discussion 0

Nobody has replied yet. Start the discussion!