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 Passed... value of String... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Passed... value of String..." Watch "Passed... value of String..." New topic

Passed... value of String...

nutan prakash

Joined: Oct 28, 2000
Posts: 16
I cleared the JCP with 83%.
In the exam they gave me some code, and asked me to enter the value of a String variable... SHOULD WE WRITE IT IN DOUBLE QUOTES ... ie "xxx". I typed the string as is ... xxx.
Can anyone clarify this... So, others who write the exam may know. Funny that I know the answer but, not know how to put it!

P.Nutan Prakash<br />SCJP2
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
You should enter the value without the quotes.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I agree. Here's the link:
subject: Passed... value of String...
It's not a secret anymore!