Please I need answers for this Java questions
sing the code below determine the output of questions a) to f) public class Grape { private string color; private double price; public Grape (String color, double price) { this.color = color; this.price = price; } public Grape (double price) { this ("purple", price); } public string getColor() { return color; } public double getPrice() {return price; } public void setPrice (double p) {price = p; } } a) Grape a = new Grape("blue", 120.00); System.out.println(a.getColor()); b) System.out.println(a.getPrice()); c) a.setPrice(50.5); System.out.println(a.getPrice()); d) Grape b = new Grape(98.6); System.out.println(b.getColor()); e) System.out.println(b.getPrice()); f) b.setPrice(a.getPrice()); System.out.println(b.getPrice());