You need to sign in to do that
Don't have an account?
Opportunity opp = [select id, StageName from opportunity limit 1]; Given the code above, how can a developer get the label for the StageName field?
A. Call “Opportunity.StageName.Label”.
B. Call “Opportunity. StageName.getDescribe().getLabel()”.
C. Call “opp.StageName.getDescribe().getLabel()”.
D. Call “opp.StageName.Label”.
B. Call “Opportunity. StageName.getDescribe().getLabel()”.
C. Call “opp.StageName.getDescribe().getLabel()”.
D. Call “opp.StageName.Label”.
Check https://www.infallibletechie.com/2019/11/how-to-get-label-name-for-objects-field.html for more information.
All Answers
Check https://www.infallibletechie.com/2019/11/how-to-get-label-name-for-objects-field.html for more information.