Ask Question
13 December, 05:05

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. 13 December, 08:25
    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?
Get 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 & 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