• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

intern method

 
sharon daze
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all ,

can anyone give me a good example of how to use intern() method for string to refer to the same string object.

Thanks
 
Sridhar Santhanakrishnan
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Hope this helps...

[edit] added a disclaimer [/edit]
 
Bert Bates
author
Sheriff
Posts: 8900
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the intern method is not on the exam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic