// file ListOfLists.java public class ListOfLists { public static void main(String[] args) { MyList A = new MyList(); A.setValue(5); MyList A2 = A.setNext(new MyList()); A2.setValue(31); MyList B = new MyList(); B.setValue(13); MyList B2 = B.setNext(new MyList()); B2.setValue(48); MyList> W = new MyList>(); W.setValue(A); MyList> W2 = W.setNext(new MyList>()); W2.setValue(B); System.out.println(W.toString()); } }