Valid PDI Dumps shared by EduDump.com for Helping Passing PDI Exam! EduDump.com now offer the newest PDI exam dumps, the EduDump.com PDI exam questions have been updated and answers have been corrected get the newest EduDump.com PDI dumps with Test Engine here:
A developer creates a custom controller and custom Visualforce page by using the following code block:public class myController {public String myString;public String getMyString() {return 'getmyString';}public String getStringMethod1() {return myString;}public String getStringMethod2() {if (myString == null)myString = 'Method2';return myString;}}{!myString}, {!StringMethod1}, {!StringMethod2}, {!myString}What does the user see when accessing the custom page?
Correct Answer: D
Recent Comments (The most recent comments are at the top.)
DevCops - Oct 21, 2024
The Answer is D I tried it, the getter (getMyString) method is auto called when you reference the variable
Fa3il khayr - May 27, 2024
Correct answer is D :
public class myController { public String myString; public String getMyString() {return 'getmyString';} public String getStringMethod1() {return myString;} public String getStringMethod2() { if (myString == null) myString = 'Method2';
Recent Comments (The most recent comments are at the top.)
The Answer is D
I tried it, the getter (getMyString) method is auto called when you reference the variable
Correct answer is D :
public class myController {
public String myString;
public String getMyString() {return 'getmyString';}
public String getStringMethod1() {return myString;}
public String getStringMethod2() {
if (myString == null)
myString = 'Method2';
return myString;
}
}
// {!myString}, {!StringMethod1}, {!StringMethod2}, {!myString}
// getmyString , , "Method2" , "getMyString"