In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object?
A developer needs to display all of the available fields for an object.
In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)
A . Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.
B . Use mySObject.myObject.fields.getMap() to return a map of fields.
C . Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields.
D . Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.
Answer: B,C
Latest CRT-450 Dumps Valid Version with 372 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments