100 Days of Java challenges

Day 26: Constructors

Implement multiple constructors for the User class:

  • With parameters (firstname, lastname)
  • With parameters (email)
  • With parameters (firstname, lastname, email)
  • Instantiate objects of User class using above constructors

Community|Blog|Youtube|Careers|Contact Us
Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
100DaysOfCode@2024