A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object on a
Visualforce page.
Which two actions should the developer perform to get the available picklist values and record types in the controller? (Choose two.)
- A.Use Schema.RecordTypeInfo returned by Opportunity.SObjectType.getDescribe().getRecordTypeInfos().
- B.Use Schema.PicklistEntry returned by Opportunity.SObjectType.getDescribe().getPicklistValues ().
- C.Use Schema.RecordTypeInfo returned by RecordType.SObjectType.getDescribe().getRecordTypeInfos().
- D.Use Schema.PicklistEntry returned by Opportunity.StageName.getDescribe().getPicklistValues ().