Kotlin for Java Developers
- Offered byCoursera
Kotlin for Java Developers at Coursera Overview
Duration | 19 hours |
Start from | Start Now |
Total fee | Free |
Mode of learning | Online |
Difficulty level | Intermediate |
Official Website | Explore Free Course |
Credential | Certificate |
Kotlin for Java Developers at Coursera Highlights
- Offered By Jet Brains
- Earn a certificate from JetBrains
- 11% got a pay increase or promotion
- 13% got a tangible career benefit
Kotlin for Java Developers at Coursera Course details
- We'll have a basic overview of the language, as well as a discussion of many corner cases, especially concerning Java interoperability. The course is based on your Java experience; it shows the similarities between the two languages and focuses on what's going to be different.
- This course aims to share with you the power and the beauty of Kotlin.
Kotlin for Java Developers at Coursera Curriculum
Week-1-Introduction
Introduction to the course
What is Kotlin?
History of Kotlin
Developing Kotlin
Week-2-Starting up with Kotlin
From Java to Kotlin
Introducing Kotlin to an existing project
"Hello, world" example
Variables
Functions
Named & default arguments
Conditionals: if & when
Loops
'in' checks & ranges
Exceptions
Extension Functions
Examples from the Standard Library
Calling Extensions
Importance of extensions
Solution: Mastermind
Solution: Checking identifier
Solution: Sum as an extension function
Week-3-Nullability, Functional Programming
Nullable types
Nullable types under the hood
Safe casts
Importance of nullability
Lambdas
Common Operations on collections
Operations Quiz -1
Operations Quiz - II
Function Types
Member References
return from Lambda
Is Kotlin a functional language?
Solution: Nice String
Solution: Taxi Park, tasks 1
Solution: Taxi Park, tasks 4 &
Solution: Taxi Park, task
Solution: Checking whether string is null or empty
Solution: Safe casts
Solution: Interchangeable predicates
Week-4-Properties, OOP, Conventions
Properties
More about Properties
Lazy or late initialization
OOP in Kotlin
Constructors, Inheritance syntax
Class modifiers - I
Class modifiers - II
Objects, object expressions & companion objects
Constants
Generics
OOP design choices
Operator Overloading
Conventions
(Not)using operator overloading
Solution: Rationals
Solution: Unstable va
Solution: Using lateinit property
Solution: NPE during initialization
Solution: Equality
Week-5-Sequences, Lambdas with Receiver, Types
Library functions looking like built-in constructs
The power of inline
Inline or not inline?..
Collections vs Sequences
More about Sequences
Creating Sequences
Library Functions
Lambda with receiver
More useful library functions
Basic types
Kotlin type hierarchy
Nullable Types
Collection types
Solution: Inlining of the 'filter' function
Solution: Fibonacci sequence
Solution: Working with auxiliary functions
Solution: Member extensions
Conclusion