FIRST YOU HAVE CLICK ON ITEM TYPE
import java.text.*;
import java.util.Scanner;
public class ItemType {
private String name;
private double costPerDay;
private double deposit;
//Fill your code
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getCostPerDay() {
return costPerDay;
}
public void setCostPerDay(double costPerDay) {
this.costPerDay = costPerDay;
}
public double getDeposit() {
return deposit;
}
public void setDeposit(double deposit) {
this.deposit = deposit;
}
public void display(){
//Fill your code
System.out.println("Item type details");
System.out.println("Name : " + getName());
System.out.println("CostPerDay : " + String.format("%.2f", getCostPerDay()));
System.out.println("Deposit : " + String.format("%.2f", getDeposit()));
}
}