What are the example of actual parameter and formal parameters?
Answers
Answered by
4
Answer:
formal parameter — the identifier used in a method to stand for the value that is passed into the method by a caller.
For example, amount is a formal parameter of processDeposit
actual parameter — the actual value that is passed into the method by a caller.
For example, the 200 used when processDeposit is called is an actual parameter.
actual parameters are often called arguments
Answered by
3
Answer:
The following definitions are useful: formal parameter — the identifier used in a method to stand for the value that is passed into the method by a caller. actual parameter — the actual value that is passed into the method by a caller. For example, the 200 used when processDeposit is called is an actual parameter.
Similar questions
Computer Science,
5 months ago
Math,
5 months ago
Computer Science,
5 months ago
History,
10 months ago
Math,
1 year ago