abstract class Fruit(
val name: String,
val color: String
)
what does import fruit._ mean?
def showFruit(fruit: Fruit) {
import fruit._
// rest of the method
}
abstract class Fruit(
val name: String,
val color: String
)
what does import fruit._ mean?
def showFruit(fruit: Fruit) {
import fruit._
// rest of the method
}
abstract class Fruit(
val name: String,
val color: String
)
what does import fruit._ mean?
def showFruit(fruit: Fruit) {
import fruit._
// rest of the method
}
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 |