Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entering strings on the exam

 
Martijn Kriek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just passed my Programmers exam today (thanks2javaranch), but I have one question:
Some of the questions asked me to enter (in a textfield) the output of a given Java application. I won't discuss the details of that application but in the end it used System.out.println() to do the output so I guess a newline was part of that output.
Question 1: Did I need to include that newline in my answer, like "ABC\n" (without the quotes)?
BTW the software allowed me to enter a comment for each question, so for this one I did. Does anyone know whether it'll ever get to Sun people?

[This message has been edited by Martijn Kriek (edited March 15, 2001).]
 
Tom Hennigan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confused about this topic as well. I think that I missed some questions on the exam over the confusion. The exam certainly makes no mention of the need for quotes on the textfield answers.
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Martijen
I had a similar question .. I did not use quotes nor include the '\n'. I scored 100% on the <code>java.lang</code> Package objective so I'm fairly certain you don't have to include the '\n'.
I'm going to move this over to the Certification Results forum.

------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic