hello world c++

C++
#include <iostream>


int main(){
 std::cout <<"Hello World" << std::endl;
 return 0;
}
#include<iostream>
using namespace std;

int main(){
 
  cout << "Hello World" << endl;
  
  return 0;
}public class Main {

  public static void main(String[] args) {
  	System.out.println("Hello, World!"); 
  }
  
}
Source

Also in C++: