Created
July 6, 2019 14:11
-
-
Save bayraktugrul/58c12a0cd9d33523a6f70870426f5a9e to your computer and use it in GitHub Desktop.
class without builder pattern
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
public class Person { | |
private String name, surname, address; | |
public Person(String name, String surname, String address) { | |
this.name = name; | |
this.surname = surname; | |
this.address = address; | |
} | |
// Getter & setter metodları | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment