Ask Question
14 August, 07:34

You want a class to have access to members ofanother class in the same package. Which is themost restrictive access that accomplishes thisobjective?

? public

? private

? protected

? transient

? default access

+5
Answers (1)
  1. 14 August, 09:45
    0
    default access

    Explanation:

    Classes, methods, variables (identifiers*) declared without any access modifier are considered as default and these can be accesed in others clases of same package.

    Identifiers are the name of classes, methods, variables, arrays, enums, etc.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “You want a class to have access to members ofanother class in the same package. Which is themost restrictive access that accomplishes ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers