DEV Community


Populate data in Excel sheet row by row using Java(Apache 3.10-FINAL)

Manasi Mandal
・1 min read

I want to write the values in excel with heading and the associated values row wise like this enter image description here

This is what I am trying to do but I am not getting the desired output.

String[] rowHeadings = { "Roll no", "Name", "City", "Country", "Year"};
 String[][] values = new String[][] {</code></pre>…
Enter fullscreen mode Exit fullscreen mode

Could please someone help me with this?

Discussion (0)