The strings are concatenated using the || operator. The || operator is employed by both DBMS_OUTPUT.put line and select statements.