-
-
Save pawelpluta/8f17bbbf7664fb282a340720ccb6e35a to your computer and use it in GitHub Desktop.
Article: The OOP has been explained wrongly to you
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
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