Hello World in different languages
Welcome To My First Blog
Hello and welcome to my docs site!
Here I am going to show you how we can write ‘Hello World’ in different languages.
- One - ‘ Java ‘
1 2 3 4 5
Class Main{ public static void main(String[] args){ System.out.println("Hello World"); } }
- Two - ‘ C sharp ‘
1 2 3 4 5 6 7 8 9
namespace HelloWorld { class Hello { static void Main(string[] args) { System.Console.WriteLine("Hello World"); } } }
- Three - ‘ Javascript ‘
1
console.log("Hello Wolrd");
- Four - ‘ Ruby ‘
1
puts 'Hello World'
- Five - ‘ Python ‘
1
print("Hello World")
- Six - ‘ Kotlin ‘
1 2 3
fun main(args: Array<String>){ println("Hello World") }
Following figure shows languages
This post is licensed under CC BY 4.0 by the author.