Sothr's Corner

Hello World

Since I am starting back up and writing about some of my exploratory programming, I thought it only fitting to greet everyone in the languages I’ve been using recently.

"Java Hello World"
1
2
3
4
5
class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

Hello World!

"Scala Hello World"
1
2
3
4
5
object HelloWorld {
    def main(args: Array[String]) {
        println("Hello World!!")
    }
}

Hello World!!

"Ruby Hello World"
1
puts "Hello World!!!"

Hello World!!!

"Python Hello World"
1
print "Hello World!!!!"

Hello World!!!!

"Rust Hello World"
1
2
3
fn main() {
    println!("Aw C'mon")
}

Aw C'mon

I’ll be posting interesting things here from now on. They may not all relate to programming or technology, but I imagine most of them will.

Comments