Article View: es.comp.lenguajes.java
Article #17049ayuda otra vez por favor
From: volar
Date: Sat, 02 Dec 2000 00:00
Date: Sat, 02 Dec 2000 00:00
32 lines
1313 bytes
1313 bytes
Hola a todos, de antemano quiero agradecer a todos y en especial a tano por
su ayuda.
ahora tengo otro problema, quiero hacer una sentencia swicht pero me pongo a
hacerla y cuando la voy a compilar no me funciona, me da errores.
el codigo es...
public class Pswicht {
public static void main(String args[]) {
short[] Primer = new short [20] ;
short[] Second = new short [30] ;
switch () {
case Primer:
System.out.println("probando "+ Primer +" .\n") ;
break;
case Second:
System.out.println("probando segundo "+ Second +" .\n") ;
break;
default:
System.out.println("ha saltado el caso default") ;
break;
}
}
}
Gracias a todos
Technical Details
Message-ID:
<_65W5.90787$k06.2363106@telenews.teleline.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit X-Google-Thread: 1116f3,948ff016797cc9b7,start X-Google-Attributes: gid1116f3,public From: "volar" <heidos@teleline.es> Subject: ayuda otra vez por favor Date: 2000/12/02 Message-ID: <_65W5.90787$k06.2363106@telenews.teleline.es> X-Deja-AN: 700251759 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: usenet@teleline.es X-Trace: telenews.teleline.es 975756858 193.153.30.45 (Sat, 02 Dec 2000 12:34:18 MET) Organization: Clientes_Teleline X-MSMail-Priority: Normal NNTP-Posting-Date: Sat, 02 Dec 2000 12:34:18 MET Newsgroups: es.comp.lenguajes.java