java Node<E>
- Create a new class named "Node" with a type parameter "E" to represent the generic type.
- Declare a private member variable "data" of type E to store the data in the node.
- Declare a private member variable "next" of type Node to reference the next node in the list.
- Create a constructor to initialize the "data" member variable with the given data and set the "next" member variable to null.
- Create a getter method for the "data" member variable to allow access to the data stored in the node.
- Create a getter method for the "next" member variable to allow access to the reference of the next node.
- Create a setter method for the "next" member variable to update the reference of the next node.
- Implement any additional methods or functionalities required for the Node class based on the specific use case.