Ask 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 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

+4
Answers (1)
  1. 5 September, 01:20
    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?
Find 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 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