Introduction
In this lab, we will learn how to create copy constructors in Java. Copy constructors are used to create a new object using the values of an existing object. The copy constructors can be used to create shallow as well as deep clones. We will create copy constructors for simple classes and classes with referenced types.