Examveda
Examveda

To define each of the set classes as a property of the sets object (namespace) for the module, the statement is

A. sets = sets.AbstractEnumerableSet.extend();

B. sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);

C. sets.SingletonSet = sets.extend(...);

D. sets = sets.extend(...);

Answer: Option B

Solution(By Examveda Team)

The sets object is the namespace for the module, and we define each of the set classes as a property of this object.

This Question Belongs to Javascript >> Classes And Modules

Join The Discussion

Related Questions on Classes and Modules