Question: Can someone help me fix this method? It will not change the value of Object name. public Object obj(String title) { //TODO - COMPLETE THIS
Can someone help me fix this method? It will not change the value of Object name.
public Object obj(String title) { //TODO - COMPLETE THIS METHOD Object name; Iterator
if (isLogEmpty() == true) { name = null; } else { for (int i = 0; iter.hasNext(); ++i) {
if (linkeList.toString().equals(title)) { iter.remove(); name = linkedList.get(i); }
} }
return name; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
