• Post Reply Bookmark Topic Watch Topic
  • New Topic

Core Java String class Question  RSS feed

 
Greenhorn
Posts: 10
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone tell me how to make String class object Thread Safe in java?

Thanks & Regards
Sailendra Narayan Jena
 
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String objects are already thread-safe and immutable, there is nothing you need to do.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!