File tree 3 files changed +0
-3
lines changed
3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ fun main() {
51
51
// average method
52
52
println (" The average of the element in the set is : ${numberSet.average()} " )
53
53
54
-
55
54
/*
56
55
Using index functions indexOf(), lastIndexOf() You can get the index of the specified element.
57
56
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ fun main() {
9
9
// When string type data is addition, the data is written side by side.
10
10
println (" $x + $y = $z " ) // 2 + 3 = 23
11
11
12
-
13
12
// String Type A Value
14
13
val languageName = " Kotlin"
15
14
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ fun main() {
30
30
// 54 + 11 = 65
31
31
println (" number2 = ${number2 + 11 } " )
32
32
33
-
34
33
// smaller types are NOT implicitly converted to bigger types.
35
34
// This means that we cannot assign a value of type Byte to an Int variable without an explicit conversion
36
35
You can’t perform that action at this time.
0 commit comments