HARMAN
Tigma Technologies Interview Questions and Answers
Q1. What can do for run apex class ? what is get precaution ?
To run an Apex class, we need to create an instance of the class and call its methods. Precautions include testing and avoiding governor limits.
Create an instance of the class using the 'new' keyword
Call the methods using dot notation
Test the class thoroughly before deploying to production
Avoid hitting governor limits by optimizing code and limiting queries
Q2. Can we using old method for data update ?
No, using old methods for data update is not recommended.
Old methods may not be compatible with new systems
Old methods may not have the necessary security measures
Using old methods can lead to data corruption or loss
Q3. What is governor limit ? why is it there ?
Governor limits are limits enforced by Salesforce to ensure efficient use of shared resources.
Governor limits are enforced on Apex code, SOQL queries, DML statements, and other operations.
They prevent runaway code from monopolizing shared resources and causing performance issues.
Examples of governor limits include limits on CPU time, heap size, and database queries.
Developers must design their code to work within these limits to ensure efficient use of resources.
Governor limi...read more
Q4. What is lightning data services ?
Lightning Data Service is a framework that allows developers to easily access and manipulate data in Salesforce.
It provides a standard interface for data manipulation
It automatically handles data caching and synchronization
It supports CRUD operations on records and fields
It can be used with Lightning Components and Apex controllers
Q5. what is trigger new & old ?
New and old are trigger context variables in Salesforce that store the new and old versions of a record being processed.
New stores the updated version of the record being processed in a trigger.
Old stores the previous version of the record being processed in a trigger.
New and old are used to compare changes made to a record in a trigger.
New and old are only available in before and after triggers, not in validation or workflow rules.
Q6. What is diff between SOQL & SOSL ?
SOQL is used to query records from a single object, while SOSL is used to search for records across multiple objects.
SOQL is used to retrieve data from a single object based on conditions
SOSL is used to search for data across multiple objects based on search terms
SOQL supports aggregate functions, while SOSL does not
SOQL is case-sensitive, while SOSL is not
SOQL queries are limited to 100 records, while SOSL can return up to 2000 records
More about working at HARMAN
Top Salesforce Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month