guys can you help me with this i am trying one of buckys intermediate java tutorial videos ... not able to identify what is the issue?

I am getting this error when i run this code

"The method editlist(List, List) is undefined for the type b4"


CODE:

import java.util.*;
import java.util.Collections;
public class b4
{
public static void main (String[] args)
{
String[] things = {"eggs","lasers","hats","pie"};
List list1 = new ArrayList();

for (String x:things)
list1.add(x);

String[] morethings= {"lasers","hats"};
List list2 = new ArrayList();

for (String y:morethings)
list2.add(y);

for (int i=0;i