Article View: borland.public.jbuilder.java.language
Article #14802Re: can someone tell me what is wrong!!!??
From: John Lacey
Date: Tue, 03 Aug 1999 00:00
Date: Tue, 03 Aug 1999 00:00
18 lines
1213 bytes
1213 bytes
ngumba nyika wrote: > > The only error i receive is that the > "System.out.println(CUSTFNAME,.....)" line is faulty, more specifically > that JBuilder cannot find the method "println" in java.io.printStream. > > System.out.println(CUSTFNAME, CUSTLNAME, SOCIALSECURITYNUMBER, > ADDRESS, TELEPHONE, MONEYOWED); The println method only takes one argument. The error message was telling you that no println method exists that takes six arguments. If you want to print multiple things, you need to either call print multiple times with a final println, or append the strings together with +. John L cc: ngumba nyika
Technical Details
Message-ID:
<37A75490.1600BC4F@vizdom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37A73517.CC285AFD@softhome.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,780fe5867aa8f72b X-Google-Attributes: gidf74b3,public From: John Lacey <johnl@vizdom.com> Subject: Re: can someone tell me what is wrong!!!?? Date: 1999/08/03 Message-ID: <37A75490.1600BC4F@vizdom.com> X-Deja-AN: 508508798 Content-Transfer-Encoding: 7bit References: <37A73517.CC285AFD@softhome.net> To: nyix@softhome.net X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Vizdom Software, Inc. Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language