M

Mr. Dubey • 100.28K Points
Coach

Q. Consider the following statement
var Set = sets.Set;
var s = new Set(1,2,3);
What could be the efficiency quotient of the above two statements ?

  • (A) The programmer imports at once the frequently used values into the global namespace
  • (B) There is no efficiency quotient, the programmer tries to make it inefficient
  • (C) The programmer needs to import the Sets everytime he wants to use it
  • (D) All of the mentioned

Explanation by: Mr. Dubey
A programmer can import frequently used values into the global namespace. A programmer who was going to make frequent use of the Set class from the sets namespace might import the class like that.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics