We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
then I need do define a default constructor since one is not going to be defined for me (since I created a constructor with 1 parameter). I can however remove the line above (or replace it with something else), and then I will be able to remove my default constructor as well. Let me know if you have any other questions.
Tries: Contacts
You are viewing a single comment's thread. Return to all comments →
I should have been clearer: Since my code says:
then I need do define a default constructor since one is not going to be defined for me (since I created a constructor with 1 parameter). I can however remove the line above (or replace it with something else), and then I will be able to remove my default constructor as well. Let me know if you have any other questions.
HackerRank solutions.