Q. Which of the following access modifiers allows access to a class member from any class in any package?

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
134
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Nagar
Publisher
πŸ“ˆ
89%
Success Rate