Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Beginning Java
Benefits of using concat()
Mina Daoud
Ranch Hand
Posts: 88
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys,
I was wondering what is the benefits of using the concat method in
String
class, over using + operator
example:
System.out.println("Hello ".concat("world"));
AND
System.out.println("Hello "+"World");
Thanks,
Joseph Mokenela
Ranch Hand
Posts: 128
I like...
posted 13 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
I think the following link will help you,
String Concatenation
Mina Daoud
Ranch Hand
Posts: 88
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Joseph Mokenela wrote:
I think the following link will help you,
String Concatenation
Thank you Joseph this was so helpful link.
A teeny tiny vulgar attempt to get you to buy our stuff
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
String is not working as i supposed it to work
subString
Immutable Strings
String fill in the blank
Immutable Strings
More...