Use of the world's a+b function
Figure 5 shows source code resulting from the use of the a + b function to concatenate two strings.
Figure 5. Sample string-concatenation code.
public void main ( ) { String myFirstName = John-; String myLastName = Jones; String y = default string; y .set(value,(myFirstName + myLastName)); print( y ); } |
The code would join the two strings producing the following output text:
the value of world.main.y is John-Jones