🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #2887

Re: Java

#2887
From: Quodlibet
Date: Thu, 04 Mar 2004 08:43
24 lines
1746 bytes
Christian R wrote:
> Hallo,
> 
> Een klein Java vraagje aub.
> Wanneer ik op de console een vraag wil weer geven, gebruik ik
> "System.out.println".
> Mijn vraag is, hoe kan ik het antwoord dat ik daarop geef opvangen in een
> variabele, zodanig dat ik het kan gebruiken?
> Alvast bedankt,
> 
> Christian.
> 
> 
iets als varname = System.readLine();

lang geleden, maar dat lijhkt me het meest logische.






--
Quodlibet
Technical Details
Message-ID: <1078389791.651235@seven.kulnet.kuleuven.ac.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!193.190.198.58.MISMATCH!aotearoa.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
References: <L7v1c.22352$vJ3.1454111@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,d0fef567aa4ddcfb
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2004-03-04 00:43:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!193.190.198.58.MISMATCH!aotearoa.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
From: Quodlibet <spamtrap@quodlibet.be>
Newsgroups: be.comp.programming
Subject: Re: Java
Date: Thu, 04 Mar 2004 09:43:03 +0100
Organization: KULeuvenNet
Lines: 24
Message-ID: <1078389791.651235@seven.kulnet.kuleuven.ac.be>
References: <L7v1c.22352$vJ3.1454111@phobos.telenet-ops.be>
Reply-To:  spamtrap@quodlibet.be
NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: ikaria.belnet.be 1078389791 25332 134.58.127.12 (4 Mar 2004 08:43:11 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Thu, 4 Mar 2004 08:43:11 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: en-us, en
In-Reply-To: <L7v1c.22352$vJ3.1454111@phobos.telenet-ops.be>
Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@pc-10-34-192-100.aiv.kuleuven.ac.be
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)