What are the 3 ways a Java method must match with its defini

What are the 3 ways a Java method must match with its definition and call?

Solution

The three ways are:

1. Name of the method must be exactly same in definition and call.

2. The number of variables mentioned in the function definition must be same as function call.

2.The type of variables mentioned in the function definition must be same as function call.

What are the 3 ways a Java method must match with its definition and call?SolutionThe three ways are: 1. Name of the method must be exactly same in definition a

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site