View Single Post
  #1 (permalink)  
Old 07-30-2007, 05:43 PM
valery valery is offline
Member
 
Join Date: Jul 2007
Posts: 32
valery is on a distinguished road
how to use jdb.exe
when I use the jdb.exe to debug the following I/O program,
I don't know how to input data.
this is my code
Code:
import java.io.IOException; class Lowercase { public static void main(String[] args) throws IOException { int i; while ((i=System.in.read())!=-1) { /*line 9*/ i=Character.toLowerCase((char)i); System.out.write(i); } } }
I don't know how to do next, because there is no input prompt.
Anyone can guide me?
Reply With Quote
Sponsored Links