#include <stdio.h>
int main()
{
printf("Hello, 世界!\n");
return 0;
}
class Hello {
public static void main(String[] args) {
System.out.println("Hello, 世界!");
}
}
using System;
class Program {
static void Main() {
Console.WriteLine("Hello, 世界!");
}
}
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
print 'Hello, 世界!'
if __name__ == '__main__':
main()
package main
import (
"fmt"
)
func main() {
fmt.Printf('Hello, 世界!\n')
}
package main
/*
#include <stdio.h>
int _()
{
printf("Hello, 世界!\n");
return 0;
}
*/
import "C"
func main() {
C._()
}
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
def main()
puts 'Hello, 世界!'
end
main()
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, 世界!")
}
}