Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/scala/stdlib/Objects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ object Objects extends FlatSpec with Matchers with org.scalaexercises.definition
Movie.academyAwardBestMoviesForYear(1932).get.name should be(res0)
}

/** A companion object can also see private values and variables of the instantiated objects:
/** A companion object can also see private values and variables of the corresponding classes' instantiated objects:
*/
def privateValuesObjects(res0: String, res1: String, res2: String, res3: String) {
class Person(val name: String, private val superheroName: String) //The superhero name is private!
Expand Down