DEV Community

Manasi Mandal
Manasi Mandal

Posted on

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

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>…
</p>
Enter fullscreen mode Exit fullscreen mode





Could please someone help me with this?

Top comments (0)