Java Learning Pages

Lesson5-User Input-Pass info to the functions

Name: Age:
In this example, a value is passed to the function. Note that the input value need not be passed, rather can be directly accessed.