Kotlin constants are fixed values that does not change during program execution.
These fixed values are called literals.
Kotlin constatns can be of any basic data types.
- Integer constants
- Floating point constants
- Character constants
- String literals etc.
Octal literals (numbers in base 8) are not supporte in Kotlin
Continue reading Literal Constants
Kotlin characters and strings are exactly the same things as Java strings. You can pass a char/string created in Kotlin code to any Java method, and you can use any Kotlin standard library methods on chars/strings that you receive from Java code. No conversion is involved, and no additional wrapper ojbects are created.
Continue reading Characters and Strings
Kotlin is a statically typed programming language with basic data types support such as
Continue reading Basic Types
In many programming languages you start the variable declaration with a type. In Kotlin typedeclaration like this wouldn’t work, because it lets you omit the types form many variable declarations. Continue reading Variables in kotlin
In this tutorial we will learn how the basci syntax of kotlin made up.
Let’s start our first app with the “Hello, world” message and print it to the screen.
Continue reading Basic Syntax
What is Kotlin all about?
It is a new programming language targeting the Java platform. Kotlin is concise, safe, pragmatic, and focused on interoperability with Java code. It can be used almost everywhere Java is used today.
Continue reading About Kotlin