mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
4 lines
101 B
Scala
4 lines
101 B
Scala
|
def quacker(duck:
|
||
|
{def quack(value: String): String}) {
|
||
|
println (duck.quack("like a duck!"))
|
||
|
}
|