Hello,
I feel embarrassed to ask these types of questions but i can't get answers to them in my text book. So here you go:
I have an assignment of copying the constructor writing clone() method and add() method. While i understand the idea of creating of clone and add methods i am having difficulty understanding why do we need to copy a constructor? And also, where do we copy it to? Should i create a separate class to copy the constructor or should i do it in the same class?
Thank you