In relation to function calling, parameters are two types
Actual parameters are situated in caller method and formal parameters are written in called function. That is if we write a method called “sum()” with two parameter called “p” and “q”. These parameters are known as formal parameters. Now we call the “sum()” function from another function and passes two parameters called “a” and “b”. then these parameters known as actual parameters.