If the list is array based class, L1 is an object of the class list, the best code used to empty the L1 is O a. for(int i=0;i


data  structure


please solve it fast in 10 minutes


If the list is array based class, L1 is an object of the class list, the best code used to empty the L1 is<br>O a. for(int i=0;i<L1.size(;i++) L1.remove(0);<br>O b. while(!L1.empty0) L1.remove(L1.size(-1);<br>O c. for(int i=0;i<L1.size(;i++) L1.remove(i);<br>O d. while(!L1.empty(0) L1.remove(0);<br>

Extracted text: If the list is array based class, L1 is an object of the class list, the best code used to empty the L1 is O a. for(int i=0;i

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here