Answer:
Correct answer is option(D) that is, str would reference "Little Jack Horner
sat on the corner".
Explanation:
StringBuilder are the objects which can be modified like strings object.It will first create a string builder and initialize with "Little Jack Horner".Then it will append string "sat on the " to initial string. In the last it will append string "corner" to the initial string.So in this way, str will have a string "Little Jack Horner sat on the corner ".