Question: The one-parameter add method in the ArrayList class always returns true. Would it make sense to change the return type from boolean to void? Explain

The one-parameter add method in the ArrayList class always returns true. Would it make sense to change the return type from boolean to void? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
