I have never even tried to develop a GUI app using python until recently. The main reason for that was, i am quite happy and comfortable developing almost any kind of GUI application with java. Recently i have to deal with a project which i have to use opengl and as usual i have done […]
I am working on an embedded systems project these days which the core program is written in java to work on a raspberry pi 3 model b in raspbian os. We needed to connect few ultrasonic sensors for that device so i have written a java class to interface the HC-SR04 ultrasonic sensor with the […]
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 of records
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.