πŸ“Š JAVA
Q. In Java, which access modifier allows a method or variable to be accessed within the same package only?
  • (A) private
  • (B) public
  • (C) protected
  • (D) package-private
πŸ’¬ Discuss
βœ… Correct Answer: (D) package-private

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
100
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
90%
Success Rate