Skip to content

arsalankhan994/kotlin-examples

Repository files navigation

kotlin-examples

  1. Variables or Objects Initialization
  2. Methods or Functions
  3. Loops (While loop, For loop, Foreach loop)
  4. Handle Null Objects
  5. Type Checking and Smart Casting
  6. Keywords (Open, abstract, sealed classes, data classes, companion object, object, var, val)
  7. When/Else expression
  8. List, Arrays, MutableList, Hashmap
  9. Handle Exceptions using try,catch and finally
  10. Default and Named Argument
  11. Scope Functions (Apply, With, Let)
  12. Extension Functions
  13. Inline Functions
  14. Suspend Functions
  15. Launch and Async Coroutines
  16. Constructors
  17. Interfaces
  18. Abstract classes
  19. Inheritance
  20. Polymorphism
  21. Encapsulation

Releases

No releases published

Packages

No packages published