diff --git a/Java/HelloJavaWorld.java b/Java/HelloJavaWorld.java new file mode 100644 index 0000000..4f873d1 --- /dev/null +++ b/Java/HelloJavaWorld.java @@ -0,0 +1,10 @@ +public class HelloJavaWorld{ + public static void main(String[] args){ + printString("Hello, world!"); + } + + private static void printString(String sentance){ + System.out.println(sentance); + } +} + diff --git a/Python/hello_world.py b/Python/hello_world.py new file mode 100644 index 0000000..7fd0ded --- /dev/null +++ b/Python/hello_world.py @@ -0,0 +1,4 @@ +def print_hello_world(): + print("Hello, world!") + +print_hello_world()