www.cs-repository.info
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
David Newton wrote:(OT: The program as written doesn't produce any output at all for me. Not sure why it would.)
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
David Newton wrote:(OT:
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
www.cs-repository.info
www.cs-repository.info
Henry Wong wrote:
Interestingly, John's first code listing, and John's most recent code listing are not the same.
In the first listing, the sysout is in the catch block, and hence, won't print anything unless an exception is thrown. In the most recent listing, it should work.
Henry
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
john eipe wrote:This is how the output comes:
*
*
*
W
e
l
c
o
m
e
t
o
.
.
. ....
strange
I don't get any exceptions.
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
www.cs-repository.info
www.cs-repository.info
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |