I am reading the Visual Force Developer Guide '23 because I have something to do with this technology so I am new. I was reading the section Building a Controller Extension and in the first example I got the followed confusion:
The visualForce markup refers to the getGreeting method as greeting.
Could anybody tell me why it is not with the method name? What makes the greeting variable to be referenced to the method getGreeting(). In the case of having two greeting methods like: getGreeting1() and getGreeting2() in this case how would it be referenced in the visualForce markup?