With Kotlin IDE installed, it is now time to start learning the basic elements of the language. In this chapter, you can learn about local variables and functions and basic Kotlin Types. If you are a Java programmer, in this chapter you'll see what sets Kotlin apart from Java. You'll see how type inference works and how Kotlin, with its support for Nullable Types, tries to prevent NullPointerExceptions.
Here is the complete overview of topics you will learn in this chapter:
- Functions
- Local variables
- Local functions
- Type inference
- Basic types
- Nullable types
- Casting
- Control flow
- Exceptions
- Packages
- Visibility modifiers