This is my beginning code; help to finish it please.
Thomas Wilson
public void removeAll(int newVal)
{
for(int i = 0; i < list.length; i++)
{
if(list[i] == list[i])
removeFirst(newVal);
}
Printable View
This is my beginning code; help to finish it please.
Thomas Wilson
public void removeAll(int newVal)
{
for(int i = 0; i < list.length; i++)
{
if(list[i] == list[i])
removeFirst(newVal);
}
First off, we will not do your homework for you, second off, you didn't give enough instruction. Do your own work and learn.