Tema: system
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/12/2007, 20:01
abulon
 
Fecha de Ingreso: diciembre-2006
Mensajes: 127
Antigüedad: 17 años, 5 meses
Puntos: 1
Sonrisa Re: system

Cita:
Iniciado por Zahafiro Ver Mensaje
Hola,



El problema que tengo es que no quiere correr, me muestra error en cada system.

Que estoy haciendo mal???



Zafiro

Código PHP:
import java.io.*;
public class 
Maraton_cadena{
    public static 
void main(String args []) throws IOException;
        
int sexo;
        
int tiempo;
        
char cat;
        
char selec;
        
char tecla;
        
String edad;
        
String nombre;
        
String dir;
        
String tel;
        
String corr;
        
system.out.println ("");
        
system.out.println ("* * * * * * * * * * * * * * * DATOS DEL PARTICIPANTE * * * * * * * * * * * * * * * ");
        
system.out.println ("");
        
system.out.println ("");
        
system.out.println ("");
        
system.out.println ("");
        
system.out.println ("");
        
system.out.println ("Introdusca el nombre del participante :");
        
system.out.println ("");
        Do{
            
tecla=(charSystem.in.read[]
            
nombre nombre+tecla;
        }while (
tecla!='\n');
        
system.out.println (""+nombre);
        
system.out.println (" ");

system no va asi va de esta forma :

System.out.println("hola");

Saludos