Hi i'm trying to use "ten dashes" between lines and i want to write it to an output file.i used writeFile method and the object oDel: oDel.writeFile("----------");
when i write this line eclipse gives me a null pointer execption.what can i do ? thanks for help.
public BankSystem(String dataFileName) {
this.iDel = new InputDelegate(dataFileName);
}
public BankSystem(String inputFileName, String outputFileName, ArrayList personList, ArrayList bankList, ArrayList branchList) {
this.iDel = new InputDelegate(inputFileName);
this.oDel = new OutputDelegate(outputFileName);
this.personList = personList;
this.bankList = bankList;
this.branchList = branchList;