Learn Kotlin in Hindi #7: Arrays

Опубликовано: 15 Апрель 2018
на канале: Modern Gyani
853
15

#kotlin #learnkotlin #learnkotlininhindi #kotlininhindi #kotlintutorial #kotlinhinditutorial #jetbrains #kotlintutorialinhindi In this video tutorial, we will learn about Arrays.

We create Array using arrayOf() function to create Array of “Any” type for example:
var x = arrayOf(“a”, 1, true, 1.3) //Here we are using many data types

We will learn how to create array of specific data type for example Array of Int or Char using
“arrayOf()”, “intArrayOf()”, “charArrayOf()” etc

We will learn how to change or get a value of Array.

We will learn how to merge two arrays.

We will learn how to create Array using Array() constructor and we will also see few examples.