Ask Question
9 December, 02:27

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

+1
Answers (1)
  1. 9 December, 04:05
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers