Hi ,
I am creating a class file Reading_XLS_Files.
Prior to this I have added the Xls_Reader.java code from the ready made code provided.
I have kept both the files in same package.
When I create an object of Xls_Reader and pass the file path in the constructor I get error in the line as "The constructor Xls_Reader(String) is undefined" .
The code :
public class Reading_XLS_Files {
public static void main(String[] args) {
Xls_Reader datatable = new Xls_Reader("C:\\tmp\\Data.xlsx");
}
}
Also PFA snapshot.
Regards
Sanjay