Object Oriented Programming with Kotlin

The Kotlin designers took the experience of Java and used it to make Kotlin a better OO language. For example, classes are 'public' and 'final' by default. This course shows you how to use such Kotlin features to create better objected oriented code.
Course info
Rating
(15)
Level
Beginner
Updated
Mar 3, 2020
Duration
2h 58m
Table of contents
Description
Course info
Rating
(15)
Level
Beginner
Updated
Mar 3, 2020
Duration
2h 58m
Description

Kotlin is a more modern version of Java. Being Java like, Kotlin has a strong Object Oriented foundation and builds on that foundation to offer features that are not found in Java. In this course, Object Oriented Programming with Kotlin, you will learn how to exploit those features to build object oriented applications. First, you will cover the basics such as defining classes in Kotlin, abstract base classes and interfaces. You will look at class derivation and the fact that Kotlin classes are ‘closed’ by default. Next, you will explore Kotlin’s construction mechanism and the fact that In Kotlin, classes have a single ‘primary’ constructor but can also have ‘secondary’ constructors, although you will see why these are not often necessary. You will also look at what you can do if a class requires more complex construction. Finally, you will discover how Kotlin supports ‘Nested’ and ‘Inner’ classes and also anonymous inner classes and see why these are important and where they might be used. Kotlin also provides ‘Data Classes’ that are used as ‘DTOs’, they provide automatic support for ‘hashCode’ and ‘equals’ methods so make them easy to use in containers such as collections. Kotlin does not have the concept of ‘static’ methods, but instead has ‘companion’ objects, these are Singletons and you will see where and how to use these in your code. Kotlin classes can also be generic. You will be introduced to the idea of generic types and be shown how they are used in your code. By the end of this course, you will be able to write small snippets of sample code to demonstrate the topics covered, and also have the knowledge required to write a complete application, bringing together the material to show how to apply object oriented techniques in practice.

About the author
About the author

Kevin has spent way too many years in the software industry. Starting on PL/1 on IBM mainframes then graduating through dBase IV to Windows and eventually onto Java, .Net and now JavaScript where he finally thinks he has found a home until the next new shiny comes along.

More from the author
Introduction to the Java API for Web Sockets
Intermediate
1h 53m
Jun 5, 2020
Architecting Web Applications with Spring
Intermediate
1h 58m
Jun 2, 2020
More courses by Kevin Jones
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hi, everyone. My name is Kevin Jones and welcome to my course object oriented programming with Katelyn. I am a developer and owner of Rock Solid Knowledge, a softer development company based in the United Kingdom. Cartman supports different styles of programming, in particular functional, an object oriented. This course covers how to do object oyster programming in coddling Kaufman's approach to Oh, it's similar to Java and C Sharp, but does have differences on those differences. Congrats, the effect. How you approach a programming problem as well as building from the basics. I also build a complete application from scratch to show you how to apply the concepts you've learned. Some of the major topics that we will cover include creating classes, abstract classes and interfaces using primary and secondary constructors and the innit method. Understanding derivation, creating an using genetic types understanding data classes on when to use them. By the end of this course, you know how to use coddling to create object oriented code. Before beginning the course, you should be familiar with Katelyn syntax and also with intelligent idea or android studio. From here, you should feel comfortable diving into Katelyn with courses on unit testing with J Unit five and Katelyn Building Web applications in coddling using Kato, I hope you join me on this journey to an object oriented programming with the object oriented program with cotton and course at plural site.