aspose file tools*
The moose likes Beginning Java and the fly likes prog of multiple inputs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

prog of multiple inputs

nick kaushik
Ranch Hand

Joined: Sep 25, 2009
Posts: 48

hi.... i want to take user input many times on command-line...the program replaces a char of user's choice with char of user's choice...





i know that String Buffer should be used but still this program throws strange output....


"ye shall know the truth & the truth shall set you free..."
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10384
    
    8

Nick,
Please do not start multiple posts for essentially the same question. Let us continue the discussion at http://www.coderanch.com/t/464056/Beginning-Java/java/multiple-inputs
Please read http://faq.javaranch.com/java/UseOneThreadPerQuestion for more details.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: prog of multiple inputs