Tags
#odersky-programming-in-scala-2ed #scala
Question
What does it mean?
import Fruits.{Apple => McIntosh, Orange}
Answer
This imports the two members Apple and Orange from object Fruits.
However, the Apple object is renamed to McIntosh.
Tags
#odersky-programming-in-scala-2ed #scala
Question
What does it mean?
import Fruits.{Apple => McIntosh, Orange}
Tags
#odersky-programming-in-scala-2ed #scala
Question
What does it mean?
import Fruits.{Apple => McIntosh, Orange}
Answer
This imports the two members Apple and Orange from object Fruits.
However, the Apple object is renamed to McIntosh.
If you want to change selection, open document below and click on "Move attachment"
pdf
cannot see any pdfsSummary
status | not learned | | measured difficulty | 37% [default] | | last interval [days] | |
---|
repetition number in this series | 0 | | memorised on | | | scheduled repetition | |
---|
scheduled repetition interval | | | last repetition or drill | | | | |
---|
Details
No repetitions