Language- Java 3It’s urgent, please help ASAP!
DI Question 41 50 pts Your job is to write a generic class named GenericDeque that implements the Deque ADT using Java’s LinkedList as the underlying data storage. Write the entire class and implement the following methods in the most efficient way possible . addBack(value: E): void addFront(value: El void . removeBack): E (throws NoSuchElementException if list is empty) removeFront0: E (throws NoSuchElementException if list is empty) . isEmpty0:
OR
OR