Difference between revisions of "User:ChampionAsh5357/Test"

From Forge Community Wiki
(Test Workspace)
 
m
Line 26: Line 26:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
</tab>
 
</tab>
 +
</tabs>
 +
 +
<tabs>
 +
{{User:ChampionAsh5357/Tab/Snippet/Java
 +
|public static void main(String args[]) {
 +
    System.out.println("Hello World");
 +
}
 +
|title=Test
 +
}}
 +
{{User:ChampionAsh5357/Tab/Snippet/Kotlin
 +
|fun main() {
 +
    println("Hello world!")
 +
}
 +
|title=Test
 +
}}
 +
{{User:ChampionAsh5357/Tab/Snippet/Scala
 +
|def main(args: Array[String]): Unit = {
 +
    println("Hello, world!")
 +
}
 +
|title=Test
 +
}}
 
</tabs>
 
</tabs>

Revision as of 17:05, 5 March 2021

Test.java
public static void main(String args[]) {
    System.out.println("Hello World");
}
Test.kt
fun main() {
    println("Hello world!")
}
Test.scala
def main(args: Array[String]): Unit = {
    println("Hello, world!")
}
public static void main(String args[]) {
    System.out.println("Hello World");
}
fun main() {
    println("Hello world!")
}
Test.java
public static void main(String args[]) {
    System.out.println("Hello World");
}
Test.kt
fun main() {
    println("Hello world!")
}
Test.scala
{{{1}}}