Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

The Type string [5/14]

Type string has a type alias str. The type alias can be used as an alternative name for the type.

Question: why the string "Learn Programming" doesn't get printed out?

Answer (click):

A println statement is required to print out values. To print out the string s2, append the statement:

println s2;

Loading...