+ Start a Discussion
ifthikar Ahmed 1ifthikar Ahmed 1 

what is the answer

User-added image
Best Answer chosen by ifthikar Ahmed 1
Nubes Elite Technologies Pvt. LtdNubes Elite Technologies Pvt. Ltd
Hi Ifthikar,

The correct answers are lettered A and C.

Thank You,
www.nubeselite.com
Development | Training | Consulting

Please mark this as solution if your problem is solved.
 

All Answers

Nubes Elite Technologies Pvt. LtdNubes Elite Technologies Pvt. Ltd
Hi Ifthikar,

Yur questions are not visible. Please make it visible clearly.

 
ifthikar Ahmed 1ifthikar Ahmed 1
@Nubes

A developer needs to display all the available field for an object.
In which two ways can the developer retrieve the available fields if the variable myObject represents name of the object.

Choose 2 answers
a.       Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields
b.      Use SObjectType.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
Nubes Elite Technologies Pvt. LtdNubes Elite Technologies Pvt. Ltd
Hi Ifthikar,

The correct answers are lettered A and C.

Thank You,
www.nubeselite.com
Development | Training | Consulting

Please mark this as solution if your problem is solved.
 
This was selected as the best answer