Ask Question
23 June, 06:07

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. 23 June, 07:15
    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 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