Tags
#odersky-programming-in-scala-2ed #scala
Question
Why is it an abstract method, not a variable (field) declaration?
abstract class Element {
def contents: Array[String]
}
Answer
because it is def not var or val
Tags
#odersky-programming-in-scala-2ed #scala
Question
Why is it an abstract method, not a variable (field) declaration?
abstract class Element {
def contents: Array[String]
}
Tags
#odersky-programming-in-scala-2ed #scala
Question
Why is it an abstract method, not a variable (field) declaration?
abstract class Element {
def contents: Array[String]
}
Answer
because it is def not var or val
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