Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Consider the following code snippet

    var sets = com.davidflanagan.collections.sets;

    What is the programmer trying to do in the above code snippet?

  2. A.

     Importing a single module

    B.

     Importing a module partially

    C.

     Importing a namespace

    D.

     Importing the entire module

    View Answer

    Workspace

    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