Challenge: Protected Password
Oppgave
Swipe to start coding
Wow, here is our User class again! Let's protect the password!
- All
passwordattributes and arguments were replaced by the placeholder (___) to help you not miss some attributes. - Use the protected access modifier (
_) to protect thepasswordattribute.
Note
Arguments taken by functions should be without protected access modifier.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 5
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.78
Challenge: Protected Password
Sveip for å vise menyen
Oppgave
Swipe to start coding
Wow, here is our User class again! Let's protect the password!
- All
passwordattributes and arguments were replaced by the placeholder (___) to help you not miss some attributes. - Use the protected access modifier (
_) to protect thepasswordattribute.
Note
Arguments taken by functions should be without protected access modifier.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 5
single