Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    138

    Unanswered: Can a String be modified after it is created?

    Can a String be modified after it is created?

  2. #2
    Join Date
    Mar 2004
    Posts
    16

    Re: Can a String be modified after it is created?

    Originally posted by valexena
    Can a String be modified after it is created?
    Yes you only have to reassign it!!!

    String s = "dummy";/*CREATION*/

    ....

    s = "not dummy";/*REASSIGNMENT*/

Posting Permissions

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