Custom CSV file reader class for your java projects

Custom CSV file reader This class includes the following methods. Constructor : ReadCsv(String filename) int getNumberOfHeaders() : Returns the number of Headers/coloumns String getHeader(int headerIndex) : Returns the specific header String[] getHeaders() : Returns the array of Headers ArrayList<String[]> getData() : Returns complete data int getSize() : Returns the number …

final and finally keyword usage in java

final keyword Basically final keyword can be used in three ways. In classes, in methods and in variables. Let’s see how and why final keyword used in these three places. In Variables If you use finally keyword in variables, it just simply means that variable is no longer a variable, …