G Create a public non-final generic class called YourSimpleLinkedList. You should extend SimpleLinkedList which is parameterized with a single type parameter E. Implement a single public method named search. search takes as a parameter a single reference of the same type as the type parameter and returns true if the list contains the element and false otherwise. If search is passed a null reference you should throw an IllegalArgumentException.

Solved
Show answers

Ask an AI advisor a question