1. There are four ways to call a method. Explain it with four different programs.
Answers
Answered by
28
Answer:
- For using a method, it should be called. There are two ways in which a method is called i.e., method returns a value or returning nothing (no return value).
Hope it will be helpful :)
Similar questions