File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes stringbuffer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "stringbuffer?" Watch "stringbuffer?" New topic


Serena Chen
Ranch Hand

Joined: Aug 15, 2002
Posts: 38
hi! where can i look for more information about stringbuffer? and is stringbuffer covered in the 1.4 exam too?
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Here is a link to Sun's Java Tutorial
The subject certainly comes up in the mock exams.
Remember you cannot change a String but you can change the contents of a StringBuffer.
Also boolean StringBuffer.equals(Object) inherits Object's version, it does not compare the contents of two StringBuffers.
BTW It may be useful to know that on Sun's site you can search the tutorial.
[ September 06, 2002: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: stringbuffer?
It's not a secret anymore!