A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
Programmer Certification (SCJP/OCPJP)
String and String Buffer
Joined: Jul 14, 2001
Jul 20, 2001 19:31:00
In one of the mock exams it says the
class has an object which takes String Buffer object as an argument. Is this statement true or false. The answer given is true. Can please someone explain.
Joined: May 05, 2000
Jul 20, 2001 20:38:00
One of the constructors for String takes a
as an argument.
When in doubt, check the API.
--- Co-Moderator of the Programmer Certification Forums
Associate Instructor - Hofstra University
Amazon Top 750 reviewer
Blog - Unresolved References
Book Review Blog
I agree. Here's the link:
subject: String and String Buffer
StringBuffer and equals() method overriding
Difference of equals method in string and stringbuffer
internal doubt abou string and string buffer
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015