Discussion :: Javascript - CS
-
Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
A.
Importing a single module |
B.
Importing a module partially |
C.
Importing a namespace |
D.
Importing the entire module |
Answer : Option D
Explanation :
Rather than importing individual classes, a programmer might import the entire module to the global namespace.
Be The First To Comment