Kotlin Mastery 2024 - 高级版
Kotlin Mastery 2024 - Premium Edition
- 1. Introduction on Kotlin
- 1. Setting Up the Kotlin Environment
- 2. Basic Kotlin Syntax
- 1. Variables
- 2. Data types
- 4. Type inference
- 5. If, else
- 7. when
- 9. Looping with for
- 11. Looping with while
- 13. do-while
- 3. Object-Oriented Programming
- 1. Declaring classes and creating objects
- 3. Constructors and initialization blocks
- 5. Inheritance
- 6. Polymorphism
- 9. Interfaces
- 11. Data Classes
- 13. Automatic generation of toString(), equals(), and hashCode()
- 15. Extension Functions
- 4. Functions and Lambdas
- 1. Declaring and invoking functions
- 3. Local functions
- 5. Passing functions as parameters
- 5. Collections in Kotlin
- 1. lists
- 2. sets
- 3. maps
- 4. Functional operations on collections
- 5. Using filter, map, and other collection functions
- 6. Chaining operations
- 6. Exception Handling
- 1. Handling exceptions in Kotlin
- 2. Introduction to null safety