All checks were successful
continuous-integration/drone/tag Build is passing
The server executes the factorial asynchronously
11 lines
170 B
Kotlin
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()
|
|
}
|