Computers
Go to...
Index
Translations
Pronunciation
Images
Computers
Geography
Languages
0 / 60 seg.
From where do all classes in Scala inherit?
A
N
Y
R
_
F
Clue
AnyRef
AnyColl
AnyClass
All classes in Scala inherit from the AnyRef class by default. AnyRef is the base class for all reference types in Scala, and it is equivalent to the java.lang.Object class in Java. AnyVal is the base class for all value types in Scala, and Any is the base class for all types in Scala.
AnyVal
Previous question
Start
Next question
Please enable JavaScript to continue using this application.