What is cloneable interface?

Answer Posted / sunil kumar

Cloneable is a marker interface present in java.lang package. If we want to copy the object then we are using clone method by implementing our class from Cloneable interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do we use synchronized blocks and advantages of using synchronized blocks?

895


What happens when heap memory is full?

742


Are arrays immutable in java?

753


What do you mean by ordered and sorted in collections in java?

790


What does business logic mean?

746


What is the importance of finally block in exception handling?

781


what is difference between equals and ==?

801


Why javac is not recognized?

717


Do extraneous variables affect validity?

702


Why can't you declare a class as protected?

803


What is an i/o filter?

1188


Can you make a constructor final?

789


What are the types of sockets in java?

757


Can we make main() thread as daemon?

835


What does += mean coding?

728