Scala has just two namespaces for definitions in place of Java’s four. Java’s four namespaces are fields, methods, types, and [...]. By contrast, Scala’s two namespaces are:
values (fields, methods, packages, and singleton objects)
types (class and trait names)
Answer
packages
Tags
#odersky-programming-in-scala-2ed #scala
Question
Scala has just two namespaces for definitions in place of Java’s four. Java’s four namespaces are fields, methods, types, and [...]. By contrast, Scala’s two namespaces are:
values (fields, methods, packages, and singleton objects)
types (class and trait names)
Answer
?
Tags
#odersky-programming-in-scala-2ed #scala
Question
Scala has just two namespaces for definitions in place of Java’s four. Java’s four namespaces are fields, methods, types, and [...]. By contrast, Scala’s two namespaces are:
values (fields, methods, packages, and singleton objects)
types (class and trait names)
Answer
packages
If you want to change selection, open document below and click on "Move attachment"
Open it Scala has just two namespaces for definitions in place of Java’s four. Java’s four namespaces are fields, methods, types, and packages. By contrast, Scala’s two namespaces are:
values (fields, methods, packages, and singleton objects)types (class and trait names)
Summary
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
Discussion
Do you want to join discussion? Click here to log in or create user.