This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes to print each string value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "to print each string value" Watch "to print each string value" New topic

to print each string value

karthik swamy
Ranch Hand

Joined: Mar 14, 2011
Posts: 39
Piotr Nowicki
Ranch Hand

Joined: Jul 13, 2010
Posts: 610

I wonder why did you put basic Java question in EJB certification forum... Neverthless I assume that some good bartender will move the topic to the right section and meanwhile:

Did you analyze the code and ask yourself what might be the problem?
Hint: how does your code is supposed to know that you want to print first, second, third, ... letter of the given word?


PS. Please use code tags to make your code more readable

OCP Java SE 6 Programmer, OCM Java SE 6 Developer, OCE Java EE 6 JSPSD, OCE Java EE 6 EJBD, OCE Java EE 6 JPAD, Spring 3.0 Core Professional.
I agree. Here's the link:
subject: to print each string value