• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Salesforce by
Q:
What is the Usage of apex program with within VisualForce page?

1 Answer

0 votes
by

When you want to call apex class in VisualForce page we have to declare in the following format.

1

< Apex : page controller = “class name “ >

Whenever we call a VisualForce page in which controller attribute is defined it will first create an object for the apex class which is defined in the controller. When an object is created for the apex class first it involves the constructor.

Related questions

0 votes
asked Sep 24, 2019 in Salesforce by Robin
0 votes
asked Feb 3, 2020 in Salesforce by SakshiSharma
...