a = 'Hello, '
b = 'World!'
message = a + b
print(message)
#Python
xxxxxxxxxx
const a = 'Hello, ';
const b = 'World!';
const message = a + b;
console.log(message);
//JavaScript
public class Main {
public static void main(String[] args) {
String a = "Hello, ";
String b = "World!";
String message = a + b;
System.out.println(message);
}
//Java
#include <iostream>
#include <string>
using namespace std;
int main() {
string a = "Hello, ";
string b = "World!";
string message = a + b;
cout << message;
return 0;
//C++