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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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: 3829
Colin please can you give URL for that article which is on java ranch .
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: q from abhilash mock exam on strings.
 
Similar Threads
String Class
I need help with Strings
String == (Abhilash mock)
Please Answer soon with explanation
'==' operator on String objects