A Java Program to show an example of Concatination of Strings.
publicclass JAVA_044 { publicstaticvoid main(String[] args) { String String_1="Many "; String String_2="hands "; String String_3="make light work"; String String_4; String_4=(String_1+String_2+String_3); System.out.println(String_4); int nHands=99; String_4=(nHands + " " + String_2 + String_3); System.out.println(String_4); String_4=("fifty five is " + 5 + 5); System.out.println(String_4); String_4=( 5.5 + 5 + " is ten point five"); System.out.println(String_4); } }