day1
This commit is contained in:
15
app/src/main/kotlin/org/example/App.kt
Normal file
15
app/src/main/kotlin/org/example/App.kt
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* This source file was generated by the Gradle 'init' task
|
||||
*/
|
||||
package org.example
|
||||
|
||||
class App {
|
||||
val greeting: String
|
||||
get() {
|
||||
return "Hello World!"
|
||||
}
|
||||
}
|
||||
|
||||
fun main() {
|
||||
println(App().greeting)
|
||||
}
|
Reference in New Issue
Block a user