complex thinking on simple java challenge, how can i fix it?
- by Rachel
Simple stuff but somehow not able to crack it, below piece of code is throwing unexpected token at try/catch and unhandled exception:java.io.FileNotFound
String fileName = "C:\\GS.xlsx";
try{
CSVReader reader = new CSVReader(new FileReader(fileName));
}catch(Exception e){
}
What is the possible issue in here, i know there is something really goofy that am doing in here...
public class PositionParserGS
{
String fileName = "C:\\GS.xlsx";
try{
CSVReader reader = new CSVReader(new FileReader(fileName));
}catch(Exception e){
}
}
that's the complete code...