Answer:
import csv
def Csvreader(filename):
with open("filename", "r") as file:
content = file.csv_reader()
list_content = list(content)
file.close
return list_content
Step-by-step explanation:
This is a python description of the function that reads the csv file and converts it to a list, from the list, each item can accessed with its index and updated directly. Use this to draw the same conclusion for a java program.