• Post Reply Bookmark Topic Watch Topic
  • New Topic

Benefits of using concat()  RSS feed

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I was wondering what is the benefits of using the concat method in String class, over using + operator

example:



AND



Thanks,
 
Ranch Hand
Posts: 71
Eclipse IDE Hibernate Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the following link will help you, String Concatenation
 
Mina Daoud
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joseph Mokenela wrote:I think the following link will help you, String Concatenation

Thank you Joseph this was so helpful link.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!