3:11 pm - Wednesday November 25, 8882

Tag Archives: Object Cloning | Inside Java Interfaces and Inner Classes | InformIT

Date in java example program for clone()

/** *@author:candidjava *@description:Date in java example for clone() **/ import java.util.Date; public class Clone { public static void main(String[] args) { Date d1 = new Date(90,10,5); Object d2=d1.clone(); System.out.println("Original...