557 bytes added
, 23:20, 4 March 2021
{{User:ChampionAsh5357/Snippets|
|title=Test
|java=public static void main(String args[]) {
System.out.println("Hello World");
}
|kotlin=fun main() {
println("Hello world!")
}
|scala=def main(args: Array[String]): Unit = {
println("Hello, world!")
}
|}}
<tabs>
<tab name="Java">
<syntaxhighlight lang="java">
public static void main(String args[]) {
System.out.println("Hello World");
}
</syntaxhighlight>
</tab>
<tab name="Kotlin">
<syntaxhighlight lang="kotlin">
fun main() {
println("Hello world!")
}
</syntaxhighlight>
</tab>
</tabs>