Why is the toString of vector final?

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: core-libs
    • None



      Name: sgC58550 Date: 03/25/97


      I would love to override the toString method of vector for my own
      classes derived from vector. Because the toString method is
      the only method I can use in String without knowning if the
      object exists -> java known itself to call toString or print null.

      So why the toString is final. I think it should be overridable for
      every subclass of class !!
      company - , email - ###@###.###
      ======================================================================

            Assignee:
            Josh Bloch (Inactive)
            Reporter:
            Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: