To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
To define each of the set classes as a property of the sets object (namespace) for the module, the statement is Correct Answer sets.SingletonSet = sets.AbstractEnumerableSet.extend(…);
Singleton is an object which can only be instantiated once. The extend keyword is used in class declarations or class expressions to create a class which is a child of another class. The sets object is the namespace for the module, and we define each of the set classes as a property of this object.
মোঃ আরিফুল ইসলাম
Feb 20, 2025