Computer Science, asked by tamnaypal5965, 11 months ago

What are the example of actual parameter and formal parameters?

Answers

Answered by Anonymous
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 simran7539
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