norangebit a6ae9aa30f
All checks were successful
continuous-integration/drone/tag Build is passing
fix drill-01 exercise-4
The server executes the factorial asynchronously
2020-03-20 11:32:34 +01:00

11 lines
170 B
Kotlin

package drills.drill01.exercise4
import util.rmi.Server
fun main() {
Server {
val math: Math = MathImpl()
Server.bind(math, "math")
}.start()
}