Jump to content

Hello world/Text: Difference between revisions

m
Line 2,798:
<lang raku>say 'Hello world!';</lang>
In an object-oriented approach, the string is treated as an object calling its '''say()''' method:
<lang raku>"Hello, World!".say(); # note the empty parentheses aren't required</lang>
 
=={{header|Raven}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.