View Single Post
  #1 (permalink)  
Old 01-20-2008, 12:30 PM
kim85 kim85 is offline
Member
 
Join Date: Jan 2008
Posts: 2
kim85 is on a distinguished road
why doesn't this short applet work?
i was just making a simple script as a test, but it doesn't work
i know it is simple for you guys and maybe stupid but know i want to know where the problem is.
Do you know it?

public class test
{
public static void printDoubleArray()
{
int[] array1 = new int[4];

for (int i=0; 1 <4; i++)
{
array1[i] = i * 2;
}
double[] lijst = {1.4, 3.3, 6.7};

for (int i=0; i <4; i++)
{
System.out.println(i + ". (" + array1[i] + ", " + lijst[i] + ")");
}
}
}
Reply With Quote
Sponsored Links