🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.programmeren
Article #555

Re: string converteren naar integer in Java

#555
From: MisterJ
Date: Mon, 18 Nov 2002 20:56
21 lines
1723 bytes
aardbei wrote:

> Passero wrote:
> 
>>    int doepoging[] = new int[4];
> 
> 
>>    doepoging[0] = 0;
>>    doepoging[1] = Integer.parseInt(kl1);
>>    doepoging[2] = Integer.parseInt(kl2);
>>    doepoging[3] = Integer.parseInt(kl3);
>>    doepoging[4] = Integer.parseInt(kl4);
> 
> Geeft een ArrayOutOfBoundsException.

ArrayIndexOutOfBoundsException om precies te zijn, schitterend toch... die lange
namen in Java ;-)

-- 
groeten,
MisterJ
Technical Details
Message-ID: <pan.2002.11.18.20.57.07.622282@perso.be.invalid>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!syros.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <dp8C9.7125$Ti2.1216@afrodite.telenet-ops.be> <1037641350.409633@seven.kulnet.kuleuven.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: 107324,478011c6da9508a
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,478011c6da9508a
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-11-18 13:12:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!syros.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: "MisterJ" <misterj@perso.be.invalid>
Subject: Re: string converteren naar integer in Java
User-Agent: Pan/0.13.2 (I wwwondeling why alla boppah ferra pushing in?)
Message-ID: <pan.2002.11.18.20.57.07.622282@perso.be.invalid>
Newsgroups: nl.comp.programmeren,be.comp.programming
References: <dp8C9.7125$Ti2.1216@afrodite.telenet-ops.be> <1037641350.409633@seven.kulnet.kuleuven.ac.be>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 22
Date: Mon, 18 Nov 2002 20:56:54 GMT
NNTP-Posting-Host: 213.118.54.59
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1037653014 213.118.54.59 (Mon, 18 Nov 2002 21:56:54 MET)
NNTP-Posting-Date: Mon, 18 Nov 2002 21:56:54 MET
Organization: Telenet Internet