[java]pb avce parenthèse

Fermé
domxaline - 20 févr. 2013 à 11:52
Bonjour,
en compilant mon prg,j'ai messages suivante;aidez svp
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Syntax error on token "(", new expected after this token

at Byteread.main(Byteread.java:10)

import java.io.*;
public class Byteread 
{
 public static void main(String args[])throws IOException
 {
	 int i;
	 FileInputStream fin=new FileInputStream("c:\\input.text");
	 do
	 {
		 fin.read((byte[i]));
		 System.out.println((char)i);
	 }
	 while(i!=-1);
	 fin.close();
	 fin=null;
 }
}

parenthèse
A voir également: