Skip to content

Instantly share code, notes, and snippets.

@anjanashankar9
Last active January 24, 2022 09:54
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 anjanashankar9/187187ddc37e6d3c9a51bd9dd1ac7f5b to your computer and use it in GitHub Desktop.
Save anjanashankar9/187187ddc37e6d3c9a51bd9dd1ac7f5b to your computer and use it in GitHub Desktop.
public class User {
private String firstName;
private String lastName;
private int age;
private String email;
public User(String firstname, String lastname, int age, String email) {
this.firstname = firstname;
this.lastname = lastname;
this.age = age;
this.email = email;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment