CRT-450 Practice Test practice questions, page 17 of 18, with answer review and explanations.
Question 81
What is the debug output of the following Apex code? Decimal theValue; System.debug(theValue);
0.0
null
Undefined
0
Question 82
A developer needs to provide a way to mass edit, update, and delete records from a list view. In which two ways can this be accomplished? (Choose two.)
Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update, and delete functionality.
Download a managed package from the AppExchange that provides customizable Enhanced List Views and buttons.
Download an unmanaged package from the AppExchange that provides customizable mass edit, update, and delete functionality.
Configure the user interface and enable both inline editing and enhanced lists.
Question 83
Which type of code represents the Model in the MVC architecture when using Apex and Visualforce pages?
A Controller Extension method that saves a list of Account records
Custom JavaScript that processes a list of Account records
A list of Account records returned from a Controller Extension method
A Controller Extension method that uses SOQL to query for a list of Account records
Question 84
Requirements state that a child record is deleted when its parent is deleted, and a child can be moved to a different parent when necessary. Which type of relationship should be built between the parent and child objects in Schema builder to support these requirements?
Master-Detail relationship
Child relationship
Lookup relationship from the parent to the child
Lookup relationship from the child to the parent
Question 85
Which tag should a developer include when styling from external CSS is required in a Visualforce page?