X-Received: by 10.66.253.10 with SMTP id zw10mr1452300pac.4.1362068511949; Thu, 28 Feb 2013 08:21:51 -0800 (PST) X-Received: by 10.50.150.180 with SMTP id uj20mr3113510igb.7.1362068511880; Thu, 28 Feb 2013 08:21:51 -0800 (PST) Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!news.ripco.com!news.glorb.com!jn4no63106pbb.1!news-out.google.com!ov8ni25024pbb.1!nntp.google.com!su1no546353pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Thu, 28 Feb 2013 08:21:51 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.161.206.44; posting-account=6SonuQoAAACzSakS5dCECcJQe6ylLrzY NNTP-Posting-Host: 122.161.206.44 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2d3dc654-852f-4f3f-8a6f-7c4a7c1a3210@googlegroups.com> Subject: Re: Input from Console From: subhabangalore@gmail.com Cc: Roedy Green Injection-Date: Thu, 28 Feb 2013 16:21:51 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:22626 On Thursday, February 28, 2013 9:14:30 PM UTC+5:30, Roedy Green wrote: > On Thu, 28 Feb 2013 06:28:23 -0800 (PST), subhabangalore@gmail.com > > wrote, quoted or indirectly quoted someone who said : > > > > >I found two ways to do it. One is by using import java.io.*; and the other is, > > >import java.util.Scanner; > > > > there is also out.println and in.readln. > > > > See http://mindprod.com/applet/fileio.html for sample code. > > -- > > Roedy Green Canadian Mind Products http://mindprod.com > > One thing I love about having a website, is that when I complain about > > something, I only have to do it once. It saves me endless hours of > > grumbling. Thank you Sir. My input was wrong. Regards, Subhabrata.