Results 1 to 2 of 2
Thread: Generic linked list
- 03-17-2010, 03:34 AM #1Member
- Join Date
- Mar 2010
- Rep Power
Generic linked list
I need to create a collection class which internally stores objects using a linked list. Should be implemented as a generic class capable of storing any reference.
An exception class should throw at the client code in case of errors like deleting from empty collection or adding null object to list. This should have a private string memeber to contain an error message showing type of error. Contents set by set by class contstructor.
Neeed to test program, create a class whose instance is stored in an object, created within test class.
Hello, and welcome to the forum.
So in essence what you've done is to give us your entire assignment without asking a question, and I'm afraid that in this situation there's not much that we can do for you other than to direct you to a tutorial or two.
I suggest that you post your best solution that you've created so far, and ask as specific questions as possible, and we'll be much better able to help. If you really have no idea how to begin here, then please have a look here: Starting Writing a Program. It's a well-written article that can help.
- By basma in forum JCreatorReplies: 0Last Post: 02-03-2010, 09:34 AM
- By alpdog14 in forum New To JavaReplies: 3Last Post: 10-07-2009, 09:34 PM
- By igniteflow in forum Advanced JavaReplies: 1Last Post: 12-10-2008, 09:53 PM
- By Md Saim in forum Web FrameworksReplies: 3Last Post: 10-22-2008, 05:01 PM
- By rnavarro9 in forum New To JavaReplies: 0Last Post: 11-29-2007, 04:42 AM