By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,646 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,646 IT Pros & Developers. It's quick & easy.

Can any One Make me Understand Linked List Program in Java

P: 6
Write a program of LinkedList do not Use LinkedList Class.
May 6 '13 #1
Share this Question
Share on Google+
1 Reply


Nepomuk
Expert 2.5K+
P: 3,112
That sounds like homework; according to How to ask a question we won't answer those questions.

To understand how to answer this yourself, first you have to understand how a Linked list works. The examples in that linked Wikipedia article are not written in Java, but they could help you understand the concept. Then try to create a node in Java which contains some kind of information. (If you want to go the professional way, make it generic.) Then link it to another node.
When that's done, you can start creating functions to work with the list, such as a count or search function.
May 6 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.