
I need the java code that would output the following:
HARDWARE ITEMS
CODE DESCRIPTION UNIT PRICE K16 Wood screws,brass,20mm $7.75 D24 Wood glue,clear,1 liter $5.50 M93 Sandpaper,fine grade $10.25 M94 Sandpaper,medium grade $14.75

import java.util.*;
import java.text.*;
class HardwareItems
{
String code;
String description;
double price;
HardwareItems(String code,String description,double price){
this.code=code;
this.description=description;
this.price=price;
}
public String getCode(){
return code;
}
public String getDescription(){
return description;
}
public double getPrice(){
return price;
}
public static void main(String []args){
ArrayList<HardwareItems> list=new ArrayList<HardwareItems>();
list.add(new HardwareItems("K16","Wood screws,brass,20mm",7.75));
list.add(new HardwareItems("D24","Wood glue,clear,1 liter",5.50));
list.add(new HardwareItems("M93","Sandpaper,fine grade",10.25));
list.add(new HardwareItems("M94","Sandpaper,fine grade",14.75));
DecimalFormat df=new DecimalFormat("$ ##.##");
System.out.println("Hardware Items");
System.out.println();
System.out.println("Code "+" Description "+" Unit Price ");
for(HardwareItems e : list){
System.out.println(e.getCode()+"\t"+e.getDescription()+"\t"+df.format(e.getPrice()));
}
}
}

hello Sir, on line attendance make a project to use in java program