You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/scala/stdlib/Classes.scala
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ object Classes extends FlatSpec with Matchers with exercise.Section {
16
16
* }}}
17
17
* The class defines two variables `x` and `y` and one method: `toString`.
18
18
*
19
-
* Classes in Scala are parameterized with constructor arguments. The code above defines two constructor arguments, `x` and `y`; they are both visible in the whole body of the class. In our example they are used to implment `toString`.
19
+
* Classes in Scala are parameterized with constructor arguments. The code above defines two constructor arguments, `x` and `y`; they are both visible in the whole body of the class. In our example they are used to implement `toString`.
20
20
*
21
21
* Classes are instantiated with the `new` primitive, as the following example will show:
0 commit comments