init
This commit is contained in:
commit
adb7e52b32
17
src/Main.kt
Normal file
17
src/Main.kt
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* todo Created with IntelliJ IDEA
|
||||
*
|
||||
*
|
||||
* @author luming
|
||||
* @email: lu.lm@bitsun-inc.com
|
||||
* @date 2021/5/12 13:09
|
||||
*/
|
||||
class Main(val a: String) {
|
||||
fun rains(name: String){
|
||||
println("Hello ${a}${name}")
|
||||
}
|
||||
|
||||
}
|
||||
fun main(args: Array<String>){
|
||||
Main("rain").rains("injury")
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user