I have a CSV file that has following form.
I read the CSV using CSV reader. It outputs the objects in following form instead of the string.
Output
[Ljava.lang.String;@138617da
**
This is my code. What is wrong with code?
public void readFeatures () throws IOException{
File(classLoader.getResource(filename).getFile());
CSVReader reader = new CSVReader(new FileReader(file));
List myEntries = reader.readAll();
for( int i = 0; i< myEntries.size(); i ++){
System.out.println(myEntries.get(i).toString());
}
}