Kotlin Programming Language

 

Kotlin 

Kotlin is modern trending programming language that was released in 2016 by JetBrains.

  • It has become very popular since it is Compatible with Java. Which means that Jam Code (and libraries) can be used in Kotlin program.

Kotlin is Used For ?

  • Mobile Application (specially Android apps)
  • Web development
  • Server side application
  • Data Science
  • And much much more

Why use Kotlin?

  • Kotlin is fully compatible with Java
  • Kotlin works on different platforms (windows , Mac , Linux , Raspberry Pi  etc)
  • Kotlin is easy to learn , especially if you already Known Java,
  • Kotlin is concise and safe
  • Big Community / Supports

Kotlin Data types are divided into different groups 

  • Numbers
  • Character
  • Booleans
  • Strings
  • Arrays

Number types divided in two types

  • Integer types
  • Floating types

Kotlin Operator

Kotlin divides the operator into the following :-
  • Arithmetic operator
  • Assignment operator
  • Comparison operator
  • Logical operator
  • Additional operator
  • Subtraction operator
  • Multiplication operator
  • Division operator
  • Modulus operator
  • Increment operator
  • Decrement operator
  • Equal operator
  • Not Equal to operator
  • Greater than operator
  • Greater than equal to operator
  • Less than operator
  • Less than equal to operator
  • Logical And operator
  • Logical OR operator
  • Logical NOT operator

Kotlin Loops

  • While loop
  • Do while loop
  • For loop

Comments

Popular Posts