Learn

Good! Now let’s try a private method.

Instructions

1.

Below your public method, add a private method called password that returns the super secret password 12345.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?