Question 1
Closing an OutputStream ensures that the data in the buffer are sent to the destination.
◦ true
◦ false
Question 2
Which of the following statements are true?
◦ Infinite recursion can occur if recursion does not reduce the problem in a manner that allows it to eventually converge into the base case.
◦ Every recursive method must have a base case or a stopping condition.
◦ A recursive method is invoked differently from a non-recursive method.
◦ Every recursive method must have a return value.
◦ Every recursive call reduces the original problem, bringing it increasingly closer to a base case until it becomes that case.