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)
[...]
Answer
types (class and trait names)
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 packages. By contrast, Scala’s two namespaces are:
values (fields, methods, packages, and singleton objects)
[...]
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 packages. By contrast, Scala’s two namespaces are:
values (fields, methods, packages, and singleton objects)
[...]
Answer
types (class and trait names)
If you want to change selection, open document below and click on "Move attachment"
Open it pan>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)<span>types (class and trait names)
<span><body><html>
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.