Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam DEX-450 Topic 7 Question 50 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 50
Topic #: 7
[All DEX-450 Questions]

A developer creates a custom controller and a custom Visualforce page by using the code block below:

public class MyController {

public String myString {

get {

if (myString == null) { myString = 'a';

}

return myString;

} private set; } public string getMyString (){

return 'getMyString';

} public string getStringMethod () {

if (myString == null) {

myString = 'b';

} return myString;

}

} {!StringMethod}, {!myString}, {!myString}

What can the user expect to see when accessing the custom page?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel