CRT-450 Exam Question 176
A developer creates a new Visualforce page and Apex extension, and writes test classes that exercise 95% coverage of the new Apex extension.Change set deployment to production fails with the test coverage warning: "Average test coverage across all Apex classes and triggers is 74%, at least 75% test coverage is required."What can the developer do to successfully deploy the new Visualforce page and extension?
CRT-450 Exam Question 177
What is the value of x after the code segment executes?String x = 'A';Integer i = 10;if ( i < 15 ) {i = 15;x
'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }
'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }
CRT-450 Exam Question 178
What is the data type returned by the following SOSL search?
[FIND 'Acme*' IN NAME FIELDS RETURNING Account, Opportunity];
[FIND 'Acme*' IN NAME FIELDS RETURNING Account, Opportunity];
CRT-450 Exam Question 179
A developer wants multiple test classes to use the same set of test data. How should the developer create the test data?
CRT-450 Exam Question 180
How can a developer refer to, or instantiate a PageReference in Apex? Choose 2 answers
