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 c58dc37 commit 9bb77daCopy full SHA for 9bb77da
src/records/return_multiple_values.md
@@ -16,13 +16,13 @@ void main() {
16
Location treasureIsland = findTreasureIsland();
17
System.out.println(
18
"Treasure island is located at " +
19
- location.latitude() +
+ treasureIsland.latitude() +
20
" " +
21
- location.longitude() +
+ treasureIsland.longitude() +
22
"."
23
);
24
}
25
```
26
27
Regular classes are, of course, still useful. Its just for classes which only
28
-hold some data together (and nothing else interesting) getting a constructor and accessors automatically is very convenient.
+hold some data together (and nothing else interesting) getting a constructor and accessors automatically is very convenient.
0 commit comments