This week's giveaway is in the Testing forum. We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line! See this thread for details.
Hey, i need help with a part of my program where I need to display an object, which is in a linked list, given a vin number. It is the display_info method. Any help is appreciated:) I have put two of my classes below.
I suggest you use a for-each loop to iterate over the linked list and then inside the loop test the input number against the vin number of the Car object.
BTW why are you not using generics throughout your code? and why are you calling your car list someList which is really doesn't tell you anything about what the list is likely to contain?
It's a tiny ad only because the water is so cold.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth