The Best Salesforce Interview Questions 2018-Learn Now!
Q. What is Apex in Salesforce?
>>Apex is a strongly typed object oriented programming language.
>>It allow the developer to execute flows and transaction control statements.
>>Apex enables developers to add business logic to most system events like button clicks related record updates and visualforce pages.
Q. What is Apex Programming Language?
1. Integrated: It provides built in support for DML Calls
2. Inline Salesforce Object Query Language
3. Easy to Use
4. Easy to Test
5. Version
6. Multi Tenant Aware Applications
Q. When Should I Use Apex?
To create Email services
Create web services
Perform complex validation over multiple objects
To create complex business processes that are not supported by workflow.
Create custom transaction logic
Attach custom logic to another operation
Q. How Does Apex Work?
All Apex programs runs entirely ON-Demand on Force.com Platform.
First the platform application server compiles the code into abstract set of instructions that can be understood by Apex runtime interpreter.
The compile code is stored to metadata.
When the end users triggers the execution of Apex by clicking button or visualforce page the application servers retrieves the compiled instructions from the metadata and send them to runtime interpreter before returning the result.
Q. What is Apex Email Service?
Email services is an automated process that use Apex classes to process the contents, Headers, Attachments of Inbound Email.
Note:
Visualforce email templates can not be used for mass emails.
We can associate each email services with one or more salesforce generated email address to which the users can send messages for processing.
Q. What is SOQL?
A query language that allows you to construct simple but powerful query strings and to specify the criteria that should be used to select the data from the platform database. SOQL Stands for Slaesforce Object Query Language.
Q. What is The Syntax of SOQL Statement?
SELECT field1, field2,.... FROM Object_Type [WHERE condition]
Example:
List accountList =
[SELECT ID, Name, FROM Account];
List accountList =
[SELECT ID, Name, FROM Account WHERE annual revenue<10000];
Q. What is Apex Interface?
Interface is a collection of unimplemented methods. This will specify the signature of the method, types of inputs that we pass the method specifies what type is given as an output.
NOTE: Generally the interface methods we give it as global.
If you're looking for Salesforce developer Interview Questions for Experienced or Freshers, you are at right place. Mindmajix offers Advanced Salesforce developer Interview Questions 2018 that helps you in cracking your interview & acquire dream career as Salesforce Developer
Enroll now: https://mindmajix.com/salesforce-interview-questions

