File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Value of Expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Value of Expression" Watch "Value of Expression" New topic
Author

Value of Expression

Roger Sanchez
Greenhorn

Joined: Jun 23, 2003
Posts: 16
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

Joined: Jun 23, 2003
Posts: 1376
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

Joined: Jun 12, 2003
Posts: 28
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
 
subject: Value of Expression
 
Similar Threads
String method query
Need a method for recognizing a pallindrome
Splitting Between String and Numbers
trim function in Javascript
substring Vs charAt