For this question, refer back to the code in linkedchain.java What if the line statement:

 chain.add(40);

was added before the line

chain.add(10);

what would the the order of the integers be starting at the front of the chain?

57, -2, 10, 40
  • 40, 10, -2, 57
  • 10, -2, 57, 40
  • 40, 57, -2, 10

hint 2 would go here