1. Suppose the Product class has a setter to set theproductPrice instance variable defined as a double. Use this setterto set the value of the Product object at index 3 of the arrayListproductList
//Set the element 4’s product’s price
productList.get(3).setProductPrice(2.50);
Suppose the Student object has a setter called setStudentName toset the value of instance variable studentName of type string. Setthe studentName of the
OR
OR