Пример #1
0
 // -------------------------------------------------------------------
 // Constructor (existing budget ... must specify file)
 // -------------------------------------------------------------------
 public HomeBudget(String budgetFileName)
 {
     categories = new CategoriesManager();
     expenses   = new Expenses();
     ReadFromFile(budgetFileName);
 }
Пример #2
0
 // -------------------------------------------------------------------
 // Constructor (new... default categories, no expenses)
 // -------------------------------------------------------------------
 public HomeBudget()
 {
     categories = new CategoriesManager();
     expenses   = new Expenses();
 }