For creating copies of objects using Java called Cloning, there are two ways to program namely "Shallow Copy" and "Deep Copy".
Shallow copy is a bit-wise copy of an object. A new object is created that has an exact copy of the values in the original object. If any of the fields of the object are references to other objects, just the references are copied. Thus, if the object you are copying contains references to yet other objects, a shallow copy refers to the same subobjects.
Deep copy is a complete duplicate copy of an object. If an object has references to other objects, complete new copies of those objects are also made. A deep copy generates a copy not only of the primitive values of the original object, but copies of all subobjects as well, all the way to the bottom. If you need a true, complete copy of the original object, then you will need to implement a full deep copy for the object.
Java supports shallow and deep copy with the Cloneable interface to create copies of objects. To make a clone of a Java object, you declare that an object implements Cloneable, and then provide an override of the clone method of the standard Java Object base class. Implementing Cloneable tells the java compiler that your object is Cloneable. The cloning is actually done by the clone method.
Cheers :)
Search Amazon.com for ipad 16gb
Oracle says it has welcomed the Sun developer community into the Oracle Technology Network (OTN) taking the total size of the group to 10 million users and making it one of the world's largest communities of application developers, database administrators, system administrators and architects.
Oracle says that it continues to see significant developer adoption of Java Platform, Enterprise Edition (Java EE) 6 with over 9.1 million downloads of the Java EE SDK and GlassFish Server distributions during the last 12 months.
Over the last six months, the company states that it has delivered new releases of a broad range of developer tools including Oracle JDeveloper, Oracle Application Development Framework (ADF), Oracle Team Productivity Center, Oracle Enterprise Pack for Eclipse, NetBeans, and Oracle Solaris Studio.
Another free offering by Google, and this time it is a product created by a company called Instantiations they acquired recently.
Now the products are being relaunched, free for developers, with the Google branding in place. The following four products are now available from Google free of charge:
Google’s GWT, which allows developers to code web applications in Java and have them compiled to JavaScript, now has visual designer with the new GWT Designer. The other three tools have wider application in Java Programming.
WindowBuilder Pro is an application for developing GUI for Java applications, while WIndowTester Pro is for testing such UIs. CodePro AnalytiX is for automated code quality / security testing.
If you are into Java web development you can find out more about these tools and download them from the Google webtoolkit page on Google Code.
Java and related software updates were available from one location mentioned here.
Go through and enjoy unlimited downloads. :)
Cheers. :)