Chapter 2

  1. Kotlin is a statically typed programming language that compiles to the same bytecode as Java.
  2. Kotlin supports all the features of object-oriented programming.
  3. Kotlin supports a lot of the features of functional programming.
  4. To define a read-only variable, we have to use the val keyword and the var keyword for mutability.
  5. To define a function, we have to use the fun keyword. Functions can be defined as first-class citizens, class members, or local.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.212.102