bład programu co robie zle ?

0

witam co robie zle ?

class  Length {
   
 public static void main(String args[] ){
   
           
 int  aa[] = new  int[100];
int   ab[] = { 1.2 };
   
  System.out.println("a1=" + aa[].Length);
   System.out.println("a2=" + ab[].Length);
           
           
 }    
}
0

Zmień kod na coś takiego:
public static void main(String[] args) {
// TODO Auto-generated method stub

	 int  aa[] = new  int[100];
	 double   ab[] = { 1.2 };
	    
	   System.out.println("a1=" + aa.length);
	    System.out.println("a2=" + ab.length);
}

a zapomniałem.. Zainstaluj Eclipse: http://www.eclipse.org/ bardzo ładnie podpowiada co jest nie tak i to chyba najlepsze środowisko do javy jakie istnieje.

1 użytkowników online, w tym zalogowanych: 0, gości: 1