Activity › Forums › Salesforce® Discussions › In how many ways to call the Apex class ? Salesforce® Discussions In how many ways to call the Apex class ? Posted by Hariom Chaudhary on September 24, 2019 at 7:19 AM In how many ways to call the Apex class ? Nikita replied 6 years, 8 months ago 2 Members · 1 Reply 1 Reply Nikita Member September 24, 2019 at 7:40 AM Hi Hariom. We can call apex class in below mentioned ways From another class From Trigger From Visualforce page From Developer console Form JavaScript button, Links From Home page components Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me