Project
Contacts (Kotlin)
Challenging
270 completions
~ 29 hours
4.0You will learn the essential basics of object-oriented programming: encapsulation, inheritance and polymorphism. Inheritance will allow you to write code that can perform the same process but for different objects. Polymorphism helps to initiate different processes for different objects by using the same method. You’ll also learn to prevent other users of your code to modify the variables using encapsulation.
Provided by
JetBrains Academy
About
Here is something you probably use regularly: contacts. In this project, you will write a program to create contacts (like on the mobile phone) and search for people or organizations by name.
Training project
This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Using classes, create your first contact with a name, last name and phone number.
Working with encapsulation and regular expressions, create a menu that will allow to add and edit contacts.
With the help of inheritance mechanism, add the ability to specify details in your contacts (for example, gender) and to create contacts and addresses of organizations.
Get familiar with polymorphism and built-in functions: fix your code and make it possible to search for contacts.
Reviews
2 weeks ago
The project is good for working with OOP, but the final stage raises some questions - it's better to read the comments to save time ;)
Markus Lang
7 months ago
For un/marshalling of children of abstract classes you need to perform special steps with moshi
4.0
Learners who completed this project within the Kotlin Developer course rated it as follows: