1class HelloWorld {
2 public static void main(String[] args) {
3 System.out.println("Hello, World!");
4 }
5}
1// I can't believe there is no grepper answer here!
2
3// Here is Java hello world:
4
5public class HelloWorld {
6 public static void main(String[] args) {
7 System.out.println("Hello, World!");
8 }
9}
1// Objective-C hello world
2
3#import <Foundation/Foundation.h>
4
5int main(int argc, char * argv[]) {
6 @autoreleasepool {
7 NSLog (@"Hello, World");
8 }
9}
1//This is a simple Hello World program.
2
3public class hello world {
4 public static void main(Strin[] args) {
5 System.out.println("Hello World");
6 }
7}