🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19909

Need help figuring this one out...

#19909
From: John B
Date: Fri, 21 Nov 1997 00:00
34 lines
1149 bytes
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: <65bnuo$c72@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1bc98ff770619844,start
X-Google-Attributes: gidf74b3,public
From: "John B" <johnbaco@nl.sykes.com>
Subject: Need help figuring this one out...
Date: 1997/11/21
Message-ID: <65bnuo$c72@forums.borland.com>
X-Deja-AN: 292126138
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: None
Newsgroups: borland.public.jbuilder.java.language