Example:
float RectangleRule(float f(float), float a, float b, int N)
{
...
}
int main(int argc, char *argv[])
{
...
}
|
|
 
Parameters is a mechanism to pass a value from a scope into another scope   |
Schematically:
|
|
|
|
|
In that case, the parameter variable is overshadowed
Java does NOT allow you to shadow parameter variables.
|
  Parameter variables behaves the same way as local variables defined at the beginning of a method   |