Difference between revisions of "User:ChampionAsh5357/Test"

From Forge Community Wiki
m (Final cleanup)
m (Update test workspace to current template, looks fine for initial converison)
 
Line 1: Line 1:
{{User:ChampionAsh5357/Snippets|
+
{{Template:Tabs/Code_Snippets
|title=Test
+
|file_name=Test
 
|java=public static void main(String[] args) {
 
|java=public static void main(String[] args) {
 
     System.out.println("Hello World");
 
     System.out.println("Hello World");
Line 10: Line 10:
 
     println("Hello, world!")
 
     println("Hello, world!")
 
}
 
}
|}}
+
|
 +
}}

Latest revision as of 20:57, 7 April 2021

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