main
This commit is contained in:
parent
1a729b6ab8
commit
4a966e2462
Binary file not shown.
Binary file not shown.
BIN
out/production/kotlin-study-demo/basic/Main.class
Normal file
BIN
out/production/kotlin-study-demo/basic/Main.class
Normal file
Binary file not shown.
Binary file not shown.
@ -1,9 +1,11 @@
|
|||||||
|
package basic
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main
|
* Main
|
||||||
*/
|
*/
|
||||||
class Main(val a: String) {
|
class Main(val a: String) {
|
||||||
fun rains(name: String){
|
fun rains(name: String){
|
||||||
println("Hello ${a}${name}")
|
println("Hello $a $name")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user