Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
append AND concat
antraarora
Ranch Hand
Posts: 45
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is the difference between APPEND and CONCAT in strings?
jyothi godavarthy
Ranch Hand
Posts: 135
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
append we use for StringBuffer and concat for
String
. hope this helps.
antraarora
Ranch Hand
Posts: 45
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Jyothi!!! Does that mean if we use APPEND on Strings, it will give an error and if we use CONCAT for StringBuffer, it will give an error? Or will it still compile???
jyothi godavarthy
Ranch Hand
Posts: 135
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
right, append we can't use for Strings and same way concat for StringBuffer.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how many objects?
.append() method
Strings
Tech Word Game
s.append()?
More...