Question: in our java if we want to append a new row to our exsisting csv file on our local disk which has 1 0 rows

in our java if we want to append a new row to our exsisting csv file on our local disk which has 10 rows and 3 columns, the first column is a row number, the second and third columns are string. how can we make sure that the row number gets incremented everytime we add a new row to the csv file11 Capital of Canberra
10 Capital of Canberra
10 Capital of Canberra
11 Capital of Canberra
11 Capital of Canberra
12 Capital of Canberra
12 Capital of Canberra

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!