Java Date.clone() Method
public Object clone()
The clone() method is used to create a copy of an object.
Package: java.util
Java Platform: Java SE 8
Syntax:
clone()
Return Value:
a clone of this instance.
Java Code Editor:
Previous:before Method
Next:compareTo Method
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics