4 Replies - 286 Views - Last Post: 05 April 2011 - 04:21 AM Rate Topic: ***-- 2 Votes

#1 sudhirkumar93  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 25-March 11

String

Posted 05 April 2011 - 02:49 AM

In the declaration of strings,
String s1="abc";
String s2="xyz";
String s3=new String("abcd");
totally how many objects will be created?
Is This A Good Question/Topic? 0
  • +

Replies To: String

#2 masijade  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 196
  • View blog
  • Posts: 580
  • Joined: 03-April 10

Re: String

Posted 05 April 2011 - 03:08 AM

What do you think? And why? Although I know all your doing is looking for a quick answer to your homework/quiz.
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10807
  • View blog
  • Posts: 40,279
  • Joined: 27-December 08

Re: String

Posted 05 April 2011 - 04:13 AM

Dogstopper has a tutorial on the String pool. You should check it out.
Was This Post Helpful? 0
  • +
  • -

#4 sudhirkumar93  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 25-March 11

Re: String

Posted 05 April 2011 - 04:19 AM

View Postmasijade, on 05 April 2011 - 03:08 AM, said:

What do you think? And why? Although I know all your doing is looking for a quick answer to your homework/quiz.

hey its not a homework... i wanted to know this answer..
Was This Post Helpful? 0
  • +
  • -

#5 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10807
  • View blog
  • Posts: 40,279
  • Joined: 27-December 08

Re: String

Posted 05 April 2011 - 04:21 AM

Regardless. Based on your research and efforts, what do you think the answer is? We will be happy to help clarify anything, but after you show a good faith effort. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1