Jump to content

Send an unknown method call: Difference between revisions

m
→‎{{header|Scala}}: Rm Scala imp category
No edit summary
m (→‎{{header|Scala}}: Rm Scala imp category)
Line 427:
 
=={{header|Scala}}==
[[Category:Scala Implementations]]{{libheader|Scala}}<lang scala>class Example {
def foo(x: Int): Int = 42 + x
}
Line 439:
println(s"Successfully completed without errors. [total ${scala.compat.Platform.currentTime - executionStart} ms]")
}</lang>
 
=={{header|Smalltalk}}==
<lang smalltalk>Object subclass: #Example.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.