We can call apex class in the following ways-

  • From VisualForce page
  • From Developer Console
  • From the Javascript button, links
  • From Triggers
  • From another class
  • From Homepage Components
BY Best Interview Question ON 29 Mar 2022