Ask Question

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

+4
Answers (1)
  1. 16 August, 20:04
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers