Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Protected Password | Encapsulation
In-Depth Python OOP
course content

Зміст курсу

In-Depth Python OOP

In-Depth Python OOP

1. OOP Concepts
2. Inheritance
3. Encapsulation
4. Polymorphism and Abstraction
5. Magic Methods

Challenge: Protected Password

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 3. Розділ 5
toggle bottom row

Challenge: Protected Password

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 3. Розділ 5
toggle bottom row

Challenge: Protected Password

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Завдання

Wow, here is our User class again! Let's protect the password!

  1. All password attributes and arguments were replaced by the placeholder (___) to help you not miss some attributes.
  2. Use the protected access modifier (_) to protect the password attribute.

Note

Arguments taken by functions should be without protected access modifier.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 3. Розділ 5
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt