private and public

Do you understand that every variable has scope, ie its value is available only in the portions of the code in which it is in scope ?