Learn
Object-Oriented Programming II
Private Affairs

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.

Folder Icon

Take this course for free

Already have an account?