Project.java - public class Project cfw private String...

This preview shows page 1 - 2 out of 2 pages.

public class Project { private String projName; private int projNumber; // String variable to declare project location private String projLocation; // An instance of Budget class private Budget projBudget; // Constructor to initialize all member variables public Project(double funding) { projName = "?"; projNumber = 0; projLocation = "?"; projBudget = new Budget(funding); } // Accessor methods public String getName() { return projName; } public int getNumber() { return projNumber; } public String getLocation() { return projLocation; } public Budget getBudget() { return projBudget; } // Mutator methods public void setName(String aName) { projName = aName;

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture