Sep 24, 2019 in Salesforce
Q: What is the Usage of apex program with within VisualForce page?

1 Answer

0 votes
Sep 25, 2019

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
Sep 24, 2019 in Salesforce
0 votes
Feb 3, 2020 in Salesforce
0 votes
Sep 24, 2019 in Salesforce
...