Kotlin is an object-oriented language in the same style as Java, but also offers features found in newer languages like C# and TypeScript. This course will teach you to write a Kotlin application and make use of all the language.
Kotlin is an object-oriented language in the same style as Java, but also offers features found in newer languages like C# and TypeScript. This course will teach you to write a Kotlin application and make use of all the language.
Kotlin is an object-oriented language, and if you know a language like Java or C#, then you will know about classes, interfaces, and inheritance. However, Kotlin is expressive and extensible in ways that those older languages are not. In this course, Object-Oriented Programming in Kotlin, you’ll learn to write applications in Kotlin using the object-oriented features of the language. First, you'll explore how to define a class in Kotlin, and then add methods and properties. Then, you'll see how properties work, method overloading, visibility, and initializing objects at creation time. Next, you'll look at primary and secondary constructors, using the init method, and modeling data by using abstract classes, interfaces, and inheritance, including how interfaces can help you test your code. Finally, you'll dive into other class types such as sealed classes and data classes and how these make it easier to understand the meaning in our code. When you’re finished with this course, you’ll have the skills and knowledge of Kotlin needed to develop Kotlin applications.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.