Can we copy one object to another in Java?

In Java, there is no operator to create a copy of an object . Unlike C++, in Java, if we use the assignment operator then it will create a copy of the reference variable and not the object.

Sizin İçin Seçtik  GPRS Türkçesi nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *