Article View: borland.public.jbuilder.java.language
Article #19920Re: Need help figuring this one out...
From: Joe Overton
Date: Tue, 25 Nov 1997 00:00
Date: Tue, 25 Nov 1997 00:00
41 lines
1385 bytes
1385 bytes
This program compilies fine for me. All I did was create a new class and
inserted your code.
Joe Overton
John B wrote:
> Hello,
>
> I have a fairly simple, straightforward program that I need to put to this
> newsgroup and see if any of you can come up with a solution as to why it
> doesn't work.
>
> Consider the following example:
>
> import java.io.*;
>
> class jbtest
>
> {
> public static void main (String[] args) throws IOException
> {
> DataInputStream input = new DataInputStream (System.in);
> String S;
>
> System.out.println("\nPlease enter a string:\n");
> S=input.readLine();
> System.out.println("\nThe string is: "+S);
> System.out.println();
> }
> }
>
> I've been having problems compiling this program under J Builder
> Professional.
>
> Any suggestions?
>
> Thanks
>
> John Bacogiannis
Technical Details
Message-ID:
<347B27AE.A141FB8F@NOSPAM.corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<65bnuo$c72@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,1bc98ff770619844 X-Google-Attributes: gidf74b3,public From: Joe Overton <joverton@NOSPAM.corp.borland.com> Subject: Re: Need help figuring this one out... Date: 1997/11/25 Message-ID: <347B27AE.A141FB8F@NOSPAM.corp.borland.com> X-Deja-AN: 292607928 References: <65bnuo$c72@forums.borland.com> To: John B <johnbaco@nl.sykes.com> Organization: None Newsgroups: borland.public.jbuilder.java.language