Any idea on how to print one entry at a time e.g Press enter to show next entry.
This is the printLink method:
//Print Link data
public void printLink()
{
System.out.println("") ;
System.out.print("Book Name: " + getBookName() + "\n" + "Book's Author: " + getBookAuthor() + "\n" + "Year Published: " + getPublicYear() + "\n" + "ISBN: " + getIsbn() +"\n");
System.out.println("") ;
}
This is the printList method:
//Prints list data
public void printList()
{
Link currentLink = first;
while(currentLink != null) {
currentLink.printLink();
currentLink = currentLink.nextLink;
}
System.out.println("");
}
Wait for a user input after each print: