What should you include in the code?
You need to write a method that combines an unknown number of strings. The solution must
minimize the amount of memory used by the method when the method executes.
What should you include in the code?
Which code segment should you use?
You are modifying an existing application.
The application includes a Loan class and a Customer class. The following code segment
defines the classes.
You populate a collection named customer-Collection with Customer and Loan objects by
using the following code segment:
You create a largeCustomerLoans collection to store the Loan objects by using the following
code segment:
Collection<Loan> largeCustomerLoans = new Collection<Loan>();
All loans with an Amount value greater than or equal to 4000 must be tracked.
You need to populate the largeCustomerLoans collection with Loan objects.
Which code segment should you use?