Question 1. What Is Apex In Salesforce?
Answer :
Question 2. What Is Apex Programming Language?
Answer :
Question 3. When Should I Use Apex?
Answer :
Question 4. How Does Apex Work?
Answer :
Question 5. What Is Apex Email Service?
Answer :
Email services is an automated process that use Apex classes to process the contents, Headers, Attachments of Inbound Email.
Question 6. What Is Map Class In Apex Salesforce?
Answer :
Question 7. What Are The Types Of Soql Statements In Sales Force?
Answer :
Salesforce Object Query Language is used to query that records from the database.com based on the requirement.
There are 2 types of SOQL Statements:
1.Static SOQL:
2.Dynamic SOQL:
Question 8. What Is Batch Apex In Salesforce?
Answer :
Batch Apex:
Batch Apex allows you to define a single job that can be broken up into manageable chunks, whereas every chunk can be processed separately.
Question 9. What Is Apex Scheduler?
Answer :
It will invokes the Apex class to run at specific time.
Anybody who want to schedule their class they have to implement schedulable interface.
Schedule Interface:
The class that implements this interface can be scheduled to run at different intervals. This interface has several methods.
They are:
Public void execute(schedulablecontext sc) etc.
Question 10. What Are The Types Of Apex Triggers In Salesforce?
Answer :
Triggers Are divided into 2 types:
1. Before Triggers:
Before Triggers can be used to update or validate values of a record before they are saved to the database.
2. After Triggers:
After Triggers Before Triggers can be used to access field values of the records that are the stored in the database and use this values to make changes in other records.
Syntax:
Trigger trigger_name on Object_Name(trigger_events)
{
Code block
}
WHERE trigger_events can be comma separated list of events.
Question 11. What Is Group By?
Answer :
With ApI version 18.0 and later /you can use group by with aggregate functions, such as sum() or max() to summarize the data and enable you to rollup query results rather than having to process the individual records in your code.
Syntax :
[ GROUP BY field GROUP BY LIST]