Ask Question
17 January, 04:31

When is it not necessary to invoke the method myMethod using dot notation? When myMethod is private. When myMethod is invoked by a method in the same class as myMethod. When myMethod is public. When myMethod is both private and static. When myMethod is invoked by a method in a different class than myMethod.

+2
Answers (1)
  1. 17 January, 06:58
    0
    When myMethod is invoked by a method in the same class as myMethod.

    Explanation:

    When you are in a class, it is like a different enviroment and within that class you can call a method without using the dot notation because you are still within the class.

    Outside the class and despite the type of method, public, private or static, the dot notation will be required.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “When is it not necessary to invoke the method myMethod using dot notation? When myMethod is private. When myMethod is invoked by a 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