Skip to content

Instantly share code, notes, and snippets.

@lovewithmind
Created June 12, 2021 07:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Address data class
public class Address{
private final String addressLine1;
private final String AddressLine2;
private final Integer postalCode;
Address(final String addressLine1,
final String addressLine2,
final Integer postalCode) {
this.addressLine1 = addressLine1;
this.AddressLine2 = addressLine2;
this.postalCode = postalCode;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment