If you know the value of the item you want to take out from a List object, but you do not know the item's index, you can use the ____________.

a. – (minus) operator
b. Erase method
c. Remove method
d. Delete method


c. Remove method

Computer Science & Information Technology

You might also like to view...

When placing the elements in an array in descending order, the __________ sort begins by finding and placing the largest value in element 0.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Consider a class that keeps track of the sales of an item. An object of this class will have the attributes

• Number sold • Total sales • Total discounts • Cost per item • Bulk quantity • Bulk discount percentage and the following methods: • registerSale(n) records the sale of n items. If n is larger than the bulk quantity, the cost per item will be reduced by the bulk discount. • displaySales displays the number sold, the total sales, and total discount. a. Implement the class in Java. b. Write some Java statements that test the class.

Computer Science & Information Technology

There are several decisions to be made regarding the construction of a new forensic workstation that will be dictated by the choice of system board. Which of the following are affected by the choice of system board?

a. CPU brand and speed b. What OS can be installed c. Whether or not RAID arrays can be used d. The amount and type of memory that can be installed

Computer Science & Information Technology

An access method in which each device is asked, in sequence, if it wants to transmit, is called ___________.     

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology