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"


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)

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

for (String y:morethings)

for (int i=0;i