Scott Solomko

Greenhorn
+ Follow
since Apr 11, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Scott Solomko

The combination of indexOf and substring should be able to accomplish this. Something like the followin:
20 years ago
Here is the link to the Java API that explains IOException.
What exactly is it ... it is an Input/Output Exception, meaning some unexpected event regarding I/O happened. There are several events that can happen to cause this exception to be thrown
A method that declares it "throws IOException" is telling the caller that "if things don't go as planned in this method, I will notify you by throwing this exception".
The catch code you included in your post is part of the caller's source file, not the method that is declaring it throws IOException.
Hope that helps,
Scott
20 years ago
Figured it out.
20 years ago
I am attempting to add the first and second char of the first argument passed to the app. Here is my code:

And I get this error msg:

It appears to me that I am playing by all the rules but obviously not. Any assistance would be greatly appreciated.
Thanks,
Scott
[ April 11, 2004: Message edited by: Scott Solomko ]
20 years ago