Skip to content

Instantly share code, notes, and snippets.

@pawelpluta
Created October 5, 2020 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pawelpluta/8f17bbbf7664fb282a340720ccb6e35a to your computer and use it in GitHub Desktop.
Save pawelpluta/8f17bbbf7664fb282a340720ccb6e35a to your computer and use it in GitHub Desktop.
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