Skip to content

Commit fe0c340

Browse files
committed
Fourth Section Snippet Code: Chapter 8
1 parent ba5d958 commit fe0c340

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// 1st code
2+
fun main(){
3+
println("Hello world")
4+
}
5+
6+
7+
/*
8+
public final class MainKt {
9+
}
10+
*/
11+
12+
/* 3
13+
data class Book(
14+
15+
val title: String,
16+
17+
val author: String,
18+
19+
val isbn: String,
20+
21+
)
22+
*/

0 commit comments

Comments
 (0)