This post originated from an RSS feed registered with Java Buzz
by justin cater.
Original Post: How to create and destroy objects
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
Learning the basics of Java is easy. But really delving into the language and studying its more advanced concepts and nuances is what will make you a great Java developer. The web is abundant with “soft”, “cheap”, “low end” Java tutorials, but what it is missing is material to really take you to the next level.
In this lesson, part of the “Advanced Java” course, which is designed to help you make the most effective use of Java, we will discuss the creation of new class instances (objects). We will see how constructors are used as well as more advanced creation techniques, such as static initialization, construction patterns and more.
Additionally, more topics will be introduced, such as the use of initialization blocks, finalizers and how the Garbage Collector gets involved in the process.