aspose file tools*
The moose likes Beginning Java and the fly likes Linked List PNode error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Linked List PNode error" Watch "Linked List PNode error" New topic
Author

Linked List PNode error

Ian Mcloud
Ranch Hand

Joined: Oct 04, 2012
Posts: 76
I am getting the following print out in the console when I execute my program: PNode@17bd6a1

Here is the code:


The data class:
Ian Mcloud
Ranch Hand

Joined: Oct 04, 2012
Posts: 76
I want it to print the name and age of the oldest person.
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3649
    
  17

It's not an error. Read Object's description of the toString() method in the JavaDocs. You might want to override its behaviour.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linked List PNode error