Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
Python
JavaScript
Java
C++
a = 'Jane' b = 'My name is ' print(b + a) #Python
const a = 'Jane'; const b = 'My name is '; console.log(b + a); //JavaScript
public class Main { public static void main(String[] args) { String a = "Jane"; String b = "My name is "; System.out.println(b + a); } } //Java
#include
#include
using namespace std; int main() { string a = "Jane"; string b = "My name is "; cout << b + a; return 0; } //C++
Python result:
JavaScript result:
Java result:
CPP result:
My name is Jane
My name is Jane
My name is Jane
My name is Jane