Results 1 to 2 of 2

Thread: String

  1. #1
    one198 is offline Member
    Join Date
    Aug 2007
    Posts
    15
    Rep Power
    0

    Default String

    HI Guys

    Please anyone tell me what is different between
    String s5 = "abc"; and
    String s4 = new String("abc");


    Thank you

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    10

    Default

    There is no difference ..
    dont worry newbie, we got you covered.

Similar Threads

  1. Replies: 2
    Last Post: 09-18-2008, 07:30 AM
  2. String vs new String
    By bugger in forum New To Java
    Replies: 20
    Last Post: 11-26-2007, 01:21 PM
  3. Replies: 0
    Last Post: 11-20-2007, 05:59 PM
  4. Replies: 1
    Last Post: 08-07-2007, 07:29 AM
  5. Replies: 1
    Last Post: 08-03-2007, 10:52 AM

Posting Permissions

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