Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Erica Matthews   on Apr 14 In Java Category.

  
Question Answered By: Bonifaco Garcia   on Apr 14

You should implement Cloneable, override the clone() method and then
call that. You don't need to know the type of the object  since the
clone() method is defined in the Object class. Take a look at
java.lang.Object's clone() method for more information.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on complicated abstract class question Or get search suggestion and latest updates.


Tagged: