Tutorialwing

  • Courses
  • Contact Us
  • Articles

Kotlin Archive

Tutorialwing Kotlin String and String Template in kotlin project

Kotlin String Template And String With Example

Learn about kotlin string with example. We will see what is string in kotlin, how to declare and define it, different examples of string in kotlin, what is string template in kotlin, format to declare and define string template, different …
Tutorialwing Kotlin Character Tutorial With Example Character in Kotlin

Kotlin Character Tutorial With Example

Learn about kotlin character with example. We will go through different example that demonstrates different uses of character in kotlin. We will see how can you convert an integer into character and vice-versa. We will see how declare and define …
Tutorialwing Kotlin Number Tutorial with example number in kotlin

Kotlin Number Tutorial With Example

In this tutorial, we will discuss about number in kotlin. We will see how to declare and define number in kotlin, how to convert from one data type to another type in kotlin. Visit post to know more...
Tutorialwing Kotlin Basic Data Types Logo

Kotlin Basic Data Types

In this tutorial, we will learn about kotlin basic data types. We will see different data types in kotlin like – Number, Character, Strings, Arrays etc. This post will cover basic data types in Kotlin programming language. You can check …
Tutorialwing Kotlin Comment in kotlin program with example

Kotlin Comment Tutorial With Example

Learn how to write kotlin comment in any kotlin program. We will see how to write single line of comment in kotlin. we will also see different ways to write multiple line of kotlin comment in any kotlin program. …
Tutorialwing Kotlin Expression kotlin Statement and Kotlin Block Tutorial With Example

Kotlin Expression, Statement and Block

Learn about kotlin expression, kotlin statement and kotlin block. We will see different examples on kotlin expression, kotlin block and kotlin statement. We will also see the difference between these three terms in this post. Visit post to know more...
Tutorialwing - operators in kotlin

Operators in Kotlin – Arithmetic, Invoke And More

There are many operators in kotlin to perform different operations like arithmetic, assignment, relational, logic etc. Depending upon the requirements, you can use any operator. You can use indexed access operator in kotlin to perform some action in array. Unlike …
Tutorialwing input and output in kotlin

Input and Output in Kotlin Programming language

Do you know to how to take input and output in kotlin programming language? Do you know about print() method, println() method? Do you know the Difference between print() and println() method? Do you know about readLine() and Scanner class? …
Tutorialwing Kotlin Constants and Literals

Kotlin Constants And Literals

Kotlin constants are fixed values that does not change during program execution. These fixed values are called literals. Kotlin Constants can be of any basic data types. For example, Integer constants, Floating point constants, Character constants, String literals etc. Like …
Tutorialwing Kotlin Variables declarations and definitions kotlin variable declaration and definition in kotlin

Kotlin Variables Declaration And Definition

In this tutorial, you will learn how to declare and define kotlin variables. kotlin variables are declared using either var or val keyword. var is used to declare mutable variables while val is used to declare immutable variables.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Kotlin
1. Kotlin Basic
Introduction
Create Project (Eclipse)
Create Project (IntelliJ IDEA)
Variables
Constants
Input / Output
Operators
Expression / Statement
Comment
Data Types
Number
Character
String
Array
Enum
Type Conversion
Create Kotlin Array Given Size
Create Array From Given Elements
Add New Element in Array
2. Kotlin Function
Function Introduction
Arguments in Function
Infix Function
Recursive Function
Tail Recursive Function
3. Kotlin Control Flow
If Else Block
For Loop
When Block
While Loop
Do While Loop
Return in kotlin
Break In Kotlin
Labeled Break
Continue In Kotlin
Labeled Continue
4. Kotlin Exception
Exception
try catch Block
Multiple Catch Block
Nested try catch Block
finally Block
throw Exception
throws Annotation
Custom Exception
5. Kotlin Class & Object
Interface
Classes in Kotlin
7. Kotlin Examples
Add Two Integers
Swap Two Numbers
Number Odd / Even Check
Find ASCII Value Character
Multiply Two Floating Point Numbers
Find Character of ASCII Value
Find Quotient And Remainder
Read and Print Integer
Read And Print String
Multiply Integer and Floating Point Number
Find Largest Among Three Numbers
Check Vowel or Consonant
Check Leap Year For Given Year
Check Positive or Negative
Find Sum of N Natural Numbers
Find Factorial of Given Number
Check If Character is Alphabet or Not
Find Roots Of Quadratic Equation
Generate Multiplication Table
Generate Fibonacci series
Find GCD or HCF (1)
Print Prime Factors of Given Number
GCD using Prime Factors
Find LCM (1)
Find LCM Using Prime Factors
Find LCM Using GCD
Display Alphabets
Count Digits of Number
Reverse a Given Number
Calculate Power of Number
Check Number Palindrome or Not
Check Prime Number or Not
Print Prime Number Between Interval
Express Number as Sum of Two Primes
Display All Factors of Number
Reverse a Given String
Check Armstrong Number
Find nth Armstrong Number
Print Armstrong Number Between Interval
Convert Binary to Decimal
Convert Large Binary Number to Decimal
Convert Decimal Number to Binary Number
Convert Octal Number to Decimal Number
Convert Decimal Number to Octal Number
Convert Octal to Binary
Convert HexaDecimal to Decimal
Convert HexaDecimal Number to Binary
Traverse Array Elements
Cyclically rotate array by one

LEARN

  • Android With Kotlin
  • Android With Java
  • Kotlin
  • Python
  • C
  • Math
  • Database
  • Computer Networks
  • Operating System

Recent Articles

  • Tips and Tricks for C# Code Optimization
  • Python Program to Find Sum of N Natural Numbers using Recursion
  • Python Program to Find Sum of N Natural Numbers
  • Python Program to Check if Number is Positive or Negative
  • Python Program to Find if Given Year is Leap Year or Not

QUICK LINKS

  • About Us
  • Contact Us
  • Privacy Policy

JOIN US AT

  • Facebook
  • Twitter
  • Youtube

Newsletter

Loading
Copyright © 2017-22. All Rights Reserved.