+1 vote
in Salesforce by (13.0k points)
What is the Usage of apex program with within VisualForce page?

1 Answer

0 votes
by (13.1k points)

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

+1 vote
asked Nov 25, 2021 in Salesforce by DavidAnderson (7.4k points)
...