Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Article: The OOP has been explained wrongly to you
class LaundryElement {
private Fabric type;
private String color;
private BigDecimal weight;
private Boolean dirty;
//constructor, getter and setters
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment