A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?
A. CustomObject.createCustomObject(CustomObjectType,primaryKey);
B. CustomObject.createCustomObject(primaryKey,CustomObjectType);
C. CustomObjectMgr.createCustomObject(primaryKey);
D. CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
Answer is D
Class CustomObject doesn’t have a createCustomObject Method:
https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FDWAPI%2Fscriptapi%2Fhtml%2Fapi%2Fclass_dw_object_CustomObject.html&resultof=%22%43%75%73%74%6f%6d%4f%62%6a%65%63%74%22%20%22%63%75%73%74%6f%6d%6f%62%6a%65%63%74%22%20