Last active
February 10, 2016 00:51
-
-
Save jredh/d5b0f4365079bc275ea7 to your computer and use it in GitHub Desktop.
Setters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// setters | |
public void setBedrooms( int _set ){ | |
houseBedrooms = _set; | |
} | |
public void setName( String _set ){ | |
houseName = _set; | |
} | |
public void setBathrooms( int _set ){ | |
houseBathrooms = _set; | |
} | |
public void setSquareFeet( int _set ){ | |
houseSquareFeet = _set; | |
} | |
public void setWindows( int _set ){ | |
houseWindows = _set; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment