Q. Which access modifier allows a class member to be accessed within the same package and its subclasses?

  • (A) private
  • (B) public
  • (C) protected
  • (D) package-private
πŸ’¬ Discuss
βœ… Correct Answer: (C) protected

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
228
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
83%
Success Rate