subject
Computers and Technology, 18.12.2019 04:31 rina62

Assume that you have an arraylist variable named a containing 4 elements, and an object named element that is the correct type to be stored in the arraylist.

which of these statements adds the object to the end of the collection? 1. a[3] = element;
2. a. add(element;
3. a[4] = element;
4. a. add(element);

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories.
Answers: 2
question
Computers and Technology, 24.06.2019 07:30
Jason is working on a microsoft excel worksheet and he wants to create a print preview shortcut. his teacher asks him to access the customization option to create the new shortcut. which two tabs should jason select to place the print preview shortcut on the worksheet toolbar? a. new tab (custom) and new group (custom) b. new file tab (custom) and new tab (custom) c. new custom group and new command d. new custom tab and new command
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Why should you evaluate trends when thinking about a career path?
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Who introduced the concept of combining artificial and natural light in the studio
Answers: 1
You know the right answer?
Assume that you have an arraylist variable named a containing 4 elements, and an object named elemen...
Questions