File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Value of Expression

 
Roger Sanchez
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another sample exam question I need help with:
If variable s have declared by the statement String s = new String ("Hello World"); then what is the value of the expression s.substring(0,4)+s.charAt(5)+Character.toUpperCase(s.charAt(4))+s.substring(5)

Thanks,
Roger
 
Joe Pluta
Ranch Hand
Posts: 1376
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Roger Sanchez:
Another sample exam question I need help with:

Okay, you need help. What part do you need help with? Show us your work so far on the question.
Joe
 
Paul Zill
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a particular part of the question you find confusing?
Have you tried running it yourself to reverse engineer the question?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic