Advertisements
Advertisements
Question
Calling and invoking a method is same.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
- In Java (and other programming languages), the terms "calling a method" and "invoking a method" are frequently interchanged.
- Both refer to running code within a method by sending a request to it from another area of the program.
shaalaa.com
Is there an error in this question or solution?