I'm not sure how to connect one linked list with another linked list, so any help would be appreciated. Some of the methods I need are adding a book to the list, ordering a book, selling a book, canceling an order, and displaying all the information about a book. I think I'll be able to write these once I understand what I need to do, but I've included them to give a broader scope on what I need this code to accomplish.
This is what I've got so far, using an inner Node class:
public class bookstore { private class Node { String title; double price; int copiesSold; Node link; public Node() { title = ""; price = 0.0; copiesSold = 0; link = null; } public Node(String t, double p, int cs, Node n) { title = t; price = p; copiesSold = cs; link = n; } } private Node head; }