Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

String question  RSS feed

 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen the 'String question' asked in this forum more times than I care to remember. How many String objects are created over here or over there? Have you looked for Strings behind the couch? What about under the fridge? Lately, the misunderstandings seem to have cleared up, due to persistence I suspect.
Here is my contribution

However, I have completed both the SCJP 1.4 (310-035) and 5.0 (310-055) exams, and not once have I been asked such a question. So I pose the question, "Does it really matter for the SCJP exam?". If not, is there some way of making this obvious to forum members? If so, please enlighten me.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!