Wednesday, March 3, 2021

Clone concept

 Q. What is object clone in java?

Ans: The object cloning is a way to create an exact copy of an object. The clone method of  an object class is used to clone an object. The clonneable interface must be implemented by a class whose object clone to create.

No comments:

Post a Comment

String coding questioon

  How do you reverse a given string in place? ( solution ) How do you print duplicate characters from a string? ( solution ) How do you chec...