Getting ready

Every contact will contain the following information:

  • A first and last name, which must not be empty
  • An email address, such as [email protected]
  • A phone number with the (123) 4567890 format

With this abstraction, we can start writing the code of our Contact class.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset