aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes q from abhilash mock exam on strings. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "q from abhilash mock exam on strings." Watch "q from abhilash mock exam on strings." New topic
Author

q from abhilash mock exam on strings.

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Read the API!


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Colin Cullen
Greenhorn

Joined: Dec 23, 2004
Posts: 8
For a deeper understanding to your puzzle check out:

JLS 3.10.5 String Literals

Or the excellent article on JavaRanch
The SCJP Tip Line -- Strings, Literally
by Corey McGlone

Enjoy!
Win jones
Ranch Hand

Joined: Dec 12, 2004
Posts: 38


Print Not Equal - if the trim function does not have anything to trim then new strings are not created (remeber String is immuatable).
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Colin please can you give URL for that article which is on java ranch .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: q from abhilash mock exam on strings.