Want to pass your Apex and Visualforce Controllers DEV-501 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
What are all the datatypes that Salesforce supports? (No Answer)
A. Primitive, sObject, Collections, Null
B. SOAP Web Service Callouts
C. List of List Objects
D. GET, POST, PUT, DELETE
What two methods of customization are available to create applications in salesforce?
A. Implicit invocation
B. SOQL for loops
C. Record level access
D. declarative, programmatic
A developer can use optional catch statements for any exception type in a try-catch block. However, the
general exception type, 'Exception', must only be used by the last catch() block.
EXAMPLE:
try{
// Some risky code.
}
catch(SomeExceptionType e){
// Handle one exception type.
}
catch(SomeOtherExceptionType e){
// Handle another exception type.
}
catch(Exception e){
// This must be the last catch block.
}
~|~
(Select all that apply)
A. Make calls to methods using both valid and invalid inputs.
B. In the case of conditional logic (including ternary operators), execute each branch of code logic.
C. Only test code using the System Administrator profile.
D. Focus solely on test coverage percentage score.
E. Complete successfully without throwing any exceptions, unless those errors are expected and caught in a try...catch block.
F. None of these