Observer and Observable Java

Observer Observable Introduction Sometimes, it may be necessary to get notified when the data changes in a data structure. To accomplish this job, the Java designers introduced Observer and Observable classes with JDK 1.0, the starting version itself. Observer is an interface and Observable is a class, both from java.util package. As the names are …

Observer and Observable Java Read More »