πŸ“Š JAVA
Q. Which of the following access modifiers restricts a method or variable's access to the same package only?
  • (A) public
  • (B) protected
  • (C) private
  • (D) package-private
πŸ’¬ Discuss
βœ… Correct Answer: (D) package-private

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
91%
Success Rate