How to write detail into file using BufferedWriter and FileWriter in Java?
问题 I have a problem to write these detail in File. I am trying to write this detail in file but some how this function create File in specific location but its not writing anything into the file. public void writeBillToFile(double amount , double billingAmount,double taxAmount, double discount ,double transactionID , double billingNumber , int customerID , String tableNumber ,ArrayList listObject ) { FileWriter fw=null ; BufferedWriter bw =null; Date d=new Date(); long currentTimestamp=d.getTime