Please help to create a driver file of the given code
becoz i dont know what should i do to create a driver
file.

import javax.swing.*;


class Product{
private String PId;
private String PName;
private String PPrice;
private String Pcategory;
private String PQuantity;
private String PDescription;

public Product(){
PId=null;
PName=null;
PPrice=null;
Pcategory=null;
PQuantity=null;
PDescription=null;
}


public Product(String i, String n, String p, String c, String q, String d){
PId=i;
EmpName=n;
PPrice=p;
PCategory=c;
PQuantity=q;
PDescription=d;
} 

public Product (Product Products){
PId=Products.PId;
PName=Products.PpName;
PPrice=Products.PPrice;
PQuantity=Products.PQuantity;
PDescription=Products.PDescription;

}


public String getPId(){

return PId;
}

public void setPId(String _PId){
this.PId=_PId;
}

public void setPName(String _PName){
PName =_PName;
}

public String getPPrice(){
return PPrice;
}

public String getPQuantity(){
return PQuantity;
}
public void setPQuantity(String _PQuantity){
this.PQauntity=_Pqauntity;
}

public String getPDescription(){
return PDescription;
}
public void setPDescription(String PDescription){
this.PDescription=PDescription;
}

}

}



import javax.swing.*;


class Product{
private String id;
private String name;
private String mdate;
private String expdate;
private String purdate;
private String compname;
private String compemail;

public Product(){
id=null;
name=null;
mdate=null;
expdate=null;
purdate=null;
compname=null;
compemail=null;
}
public Product(String i, String n, String m, String e, String p, String c, String o){
id=i;
name=n;
mdate=m;
expdate=e;
purdate=p;
compname=c;
compemail=o;
} 

public Product (Product Prod){
id=Prod.id;
name=Prod.name;
mdate=Prod.mdate;
expdate=Prod.expdate;
purdate=Prod.purdate;
compname=Prod.compname;
compemail=Prod.compemail;


}


public String getId(){

return id;
}

public void setId(String _id){
this.id=_id;
}

public String getName(){
return name;
}
public void setName(String _name){
this.name=_name;
}

public String getmdate(){
return mdate;
}
public void setmdate(String mdate){
this.mdate=mdate;
}
public String getpurdate(){
return purdate;
}
public void setpur(String _purdate){
this.purdate=_purdate;
}
public String getcompname(){
return compname;
}
public void setcompname(String _compname){
this.compname=_compname;
}

public String getcompname(){
return compname;
}

public void setexpdate(String _expdate){
this.expdate=_expdate;
}
public String getcompemail(){

return compemail;
}
public void setcompemail(String _compemail){
this.compemail=_compemail;
}

public void print(){

JOptionPane.showMessageDialog(null, "ID:"+ id +"name:" + name +"manufacrturing Date:"+mdate +"Expiry Date:"+expadte+"purchase date:"+purdate+"Company Name:"+compname+"Company Email:"+compemail);

}

}



import javax.swing.*;


class Product{
private String id;
private String name;
private String mdate;
private String expdate;
private String purdate;
private String compname;
private String compemail;

public Product(){
id=null;
name=null;
mdate=null;
expdate=null;
purdate=null;
compname=null;
compemail=null;
}
public Product(String i, String n, String m, String e, String p, String c, String o){
id=i;
name=n;
mdate=m;
expdate=e;
purdate=p;
compname=c;
compemail=o;
} 

public Product (Product Prod){
id=Prod.id;
name=Prod.name;
mdate=Prod.mdate;
expdate=Prod.expdate;
purdate=Prod.purdate;
compname=Prod.compname;
compemail=Prod.compemail;


}


public String getId(){

return id;
}

public void setId(String _id){
this.id=_id;
}

public String getName(){
return name;
}
public void setName(String _name){
this.name=_name;
}

public String getmdate(){
return mdate;
}
public void setmdate(String mdate){
this.mdate=mdate;
}
public String getpurdate(){
return purdate;
}
public void setpur(String _purdate){
this.purdate=_purdate;
}
public String getcompname(){
return compname;
}
public void setcompname(String _compname){
this.compname=_compname;
}

public String getcompname(){
return compname;
}

public void setexpdate(String _expdate){
this.expdate=_expdate;
}
public String getcompemail(){

return compemail;
}
public void setcompemail(String _compemail){
this.compemail=_compemail;
}

public void print(){

JOptionPane.showMessageDialog(null, "ID:"+ id +"name:" + name +"manufacrturing Date:"+mdate +"Expiry Date:"+expadte+"purchase date:"+purdate+"Company Name:"+compname+"Company Email:"+compemail);

}

}