Lamento no haber especificado antes, pero esa fue mi primera opcion, ya lo volvy a correr como me indicas y sigue mostrando la misma cantidad de errores e igualmente en los System
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=(char) System.in.read[]
nombre = nombre+tecla;
}while (tecla!='\n');
System.out.println(""+nombre);
System.out.println(" ");
}
No encuentro el error