-
Using return in Apex
While returning in an Apex class, can we call the method from another class directly in it ?
For eg-
return abc.xyz(a);
where abc is another class and xyz is method in that class with 'a' as a parameter. Is this correct ?
Log In to reply.
Popular Salesforce Blogs
AI and APEX: How to Make a Developer's Life Easier in 2024
In this article, we will consider 3 tools that will help you as an APEX developer. Honestly not only with APEX, but with all languages…
Top Salesforce Trends To Watch Out In 2024
The cloud is a powerful tool that can help businesses grow exponentially. Top Salesforce CRM Trends in 2024 Let’s dig deeper into the current trends…
What is Queueable Apex in Salesforce?
This Apex allows you to submit jobs for asynchronous processing similar to future methods. We have to implement the Queueable interface to make the class…
Popular Salesforce Videos
What are Collections in Apex? | Salesforce Development Course
Shrey explained different types of Collections in Apex in this video. Watch the video now and learn, let us know in the comments if you…
Salesforce Work.com New Features
Work.com includes new solutions to accelerate the private and public sector's answer to the COVID-19 pandemic, ranging from contact tracing and emergency response management to…
Apex Triggers in Salesforce | Concepts and Examples
Apex triggers enable you to perform custom actions before or after changes to Salesforce records, such as insertions, updates, or deletions. A trigger is Apex…