Results 1 to 6 of 6
  1. #1
    infernocy is offline Member
    Join Date
    Apr 2012
    Posts
    15
    Rep Power
    0

    Default overidding version of toString

    How to overwrite a toString method
    Last edited by infernocy; 04-12-2012 at 08:09 PM. Reason: some changes

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: overidding version of toString

    Quote Originally Posted by infernocy View Post
    when i click on the inherited methods of the subclass and click toString method of the abstract class ...
    How on earth do you click on a method?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,266
    Rep Power
    25

    Default Re: overidding version of toString

    Can you make a small simple example showing the problem and post it?
    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,309
    Blog Entries
    7
    Rep Power
    20

    Default Re: overidding version of toString

    Quote Originally Posted by DarrylBurke View Post
    How on earth do you click on a method?

    db
    That is one of the secrets of the malicious mouse masters! <diabolical laughter/> The malodorous mad mouse mogul can even click on ... <drum roll> string literals! <diabolical laughter again/>

    May the cheese be with you.

    kind regards,

    Jos ;-)
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,266
    Rep Power
    25

    Default Re: overidding version of toString

    That's one of the Dutch problems. Too much cheese. Goes to their brains and makes cheese of it.
    If you don't understand my response, don't ignore it, ask a question.

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,309
    Blog Entries
    7
    Rep Power
    20

    Default Re: overidding version of toString

    Quote Originally Posted by Norm View Post
    That's one of the Dutch problems. Too much cheese. Goes to their brains and makes cheese of it.
    You obviously haven't met his wife; she has even more power than he has; she is misses mightier malodorous mad mouse mogul.

    kind regards,

    Jos ;-)
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. toString
    By Waarten in forum New To Java
    Replies: 11
    Last Post: 01-25-2012, 03:02 PM
  2. toString
    By juanvalentinequintana in forum New To Java
    Replies: 2
    Last Post: 05-13-2011, 04:30 PM
  3. help with toString
    By teardrop3903 in forum New To Java
    Replies: 5
    Last Post: 04-28-2011, 02:39 AM
  4. java -version pointing to older version
    By deepakts in forum New To Java
    Replies: 4
    Last Post: 05-06-2010, 09:59 AM
  5. Can i just use toString?
    By cachi in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 08:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •