Java Basics(5): The Garbage Collector

Java Basics(5): The Garbage Collector When an object is created, it is stored in a memory area called the memory’s heap. This heap represents a large pool of unsused memory allocated as a free store space for your Java application. As the Java application starts and continues creating objects, the free space left in the…

Details

Java Basics(3): Nested Classes

Java Basics(3): Nested Classes Static nested classes vs inner classes The Java programming language allows you to define a class within another class. Such a class is called a nested class. There are two types of nested classes: static nested classes, and inner classes (non-static nested classes). Static nested classes are not able to access…

Details

JavaBeans, Retrospection & Events

In this post I’m going to show you an example on how Retrospection works in Java. This example makes use of the Event framework as the Retrospection will be done using Bound properties in a JavaBean. Remember, Bound properties are those a bean has that provide property change notifications to listeners (getters and setters with…

Details