Monday, May 17, 2010

Some useful links for Java beginners

http://www.javabeginner.com/
http://skeletoncoder.blogspot.com/2006/09/java-tutorials-arraylist-or-vector.html
http://www.codeguru.com/java/tij/tij0128.shtml
http://www.coderanch.com
.
.
.
.

Controlling Cloneability

If you want a class to be cloneable:

1. Implement the Cloneable interface.
2. Override clone( ).
3. Call super.clone( ) inside your clone( ).
4. Capture exceptions inside your clone( ).

This will produce the most convenient effects.


Courtesy: http://www.codeguru.com/java/tij/tij0128.shtml