Answer is c. trim() function is only performed if blankspaces are present at the beginning or end. If not present it will return the same string. Hence the function will return true.
Bit if the string contains blankspaces, subString() is called to trim the string and return a new String using new operator.

Q7) Which of the following lines allow main method to be executed by ClassLoader?