Q. Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
β
Correct Answer: (D)
Importing the entire module
Explanation: Rather than importing individual classes, a programmer might import the entire module to the global namespace.