Ask Question
28 August, 13:23

What happens if a method is declared with the modifier

- the method is only accessible by other members inside the same class

-the method is only accessible by code in other classes inside the same package

-the method is accessible by code in all other classes

-a computer error occurs. methods cannot be declared private

+5
Answers (1)
  1. 28 August, 15:30
    0
    I think the answer is the method is only accessible by code in other classes inside the same package
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What happens if a method is declared with the modifier - the method is only accessible by other members inside the same class -the method ...” 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