Which of the following is true about a Recursive Helper Meth

Which of the following is true about a Recursive Helper Method?

a) it usually takes no arguments

b) it usually does not return a value

c) it usually is not recursive

d) none of the above

Which of the following is NOT one of the reasons an IOException is thrown during a file operation?

a) the file does not exist

b) the file input is out of order

c) you dont have permission to read write to the file

d) unexpected data in the file

Solution

Which of the following is true about a Recursive Helper Method?

a) it usually takes no arguments

b) it usually does not return a value

c) it usually is not recursive

d) none of the above

Answer : C

explanation: recursive helper methods are used to increase the efficiency of recursive methods, also called as non recursive methods which takes extra parameters

Which of the following is NOT one of the reasons an IOException is thrown during a file operation?

a) the file does not exist

b) the file input is out of order

c) you dont have permission to read write to the file

d) unexpected data in the file

Answer:-B

explanation: order doesn\'t matter, it does\'nt cause any exception

Which of the following is true about a Recursive Helper Method? a) it usually takes no arguments b) it usually does not return a value c) it usually is not recu

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site