public class customController {
public string cString { get; set;}
public string getStringMethod1(){
return cString;
}
public string getStringMethod2(){
if(cString == null)
cString = 'Method2';
return cString;
}
}
<apex:page controller="customController">
{!cString}, {!StringMethod1}, {!StringMethod2}, {!cString}
</apex:page>
What does the user see when accessing the custom page?
Wähle eine der folgenden: