• void print() - print the contents of the list (in order) to the console.Provide two implementations of this ADT: a class numArrayList and a class numLinkedList. The first onemust use an array to store the
T h e first one must us e an array to stor e th e sequenc e and t h e second a singly linked list. Your constructo rs should tak e no parameters, i. e. they initializ e an empty list.Notes· Using built-in Jav a classes, such as Arraul ist and LinkedList, is not allowed....