We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d9eef commit 28b8d10Copy full SHA for 28b8d10
src/methods/void.md
@@ -15,6 +15,8 @@ int views() {
15
16
// Doesn't return any value.
17
void talkAboutVideo() {
18
+ // Printing something to the screen is different
19
+ // than returning a value.
20
IO.println(title() + " only has " + views() + " views.");
21
}
22
src/return_values/void.md
0 commit comments