zondag 24 april 2011

Double ArrayList Example

I could not get Doubles working with ArrayList so I looked up how to do it on Internet.

Below a example.

import java.awt.*;
import java.applet.*;
import java.util.ArrayList;

public class doubleArrayList01 extends Applet {
ArrayList<Double> doubs = new ArrayList<Double>();

public void init() {

public void paint(Graphics g) {

g.drawString("Welcome to Java!!", 50, 60 );


Geen opmerkingen:

Een reactie posten