benjamin parker wrote:How do i print overide the toString for WebBrowser as i would like to print out the object bc.
Like Jesper, I'm completely mystified as to what your problem is, so back up and TellTheDetails (←click).
You're also not helping yourself by using cryptic names like 'bc'. It may mean something to you, but it certainly doesn't to us.
All I see so far is a class called WebBrowser that takes lines from a Scanner, encoded according to rules that you haven't explained to us, that loads a linked list that you've rolled yourself.
My advice: Deal with one thing at a time.
If you want to write a Lynx-like web browser - which is a formidable enough task just by itself - don't compound it by re-inventing the wheel. Java already has a perfectly good linked list class (called, strangely enough, LinkedList; which might also cause you problems unless you're very careful), which has been thoroughly tried and tested, so you don't need to.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Normally trees don't drive trucks. Does this tiny ad have a license?
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database