Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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