Code in Java
Write a program to read and parse the lunch.csv file you createdin Part 1
You are going to skip the first line (headers), and the lastline (totals)
For each comma-separated row, read each piece of data betweenthe commas and create a new Food object. You are basicallyreconstructing your objects from the text file.
** From Part 1
import java.io.File;import java.io.FileNotFoundException;import java.io.PrintWriter;import java.util.ArrayList;import java.util.Scanner;class Food { private String name; private int calories; private double carbs;
OR
OR