[4492] in java-interest
(help)type expected error
daemon@ATHENA.MIT.EDU (Kyungsoon Park)
Wed Jan 3 03:15:38 1996
Date: Wed, 03 Jan 1996 15:30:31 +0900
To: java-interest@java.sun.com
From: Kyungsoon Park <sosarian@bae.nuri.net>
I wrote the code below,
but compiler print out an error message 'type expected' in the line contains
'try'.
What it means?
What type for 'try'?
FileInputStream inFile=null;
try { <===== error!!!
inFile = new FileInputStream(FileName);
}
catch (IOException e) {
System.out.println("Error");
System.exit(1);
}
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com