1//Java
2String firstName = "BarackObama";
3String lastName = " Care";
4//First way
5System.out.println(firstName + lastName);
6//Second way
7String name = firstName + lastName;
8System.out.println(name);
9//Third way
10System.out.println("BarackObama" + " Care");