package datastructure; //线性表 public interface IList { public void clear(); public boolean isEmpty(); public int length(); public Object get(int i) throws Exception; public void insert(int i,Object x) throws Exception; public void remove(int i) throws…