package observerPattern;

public interface Administrator {
	User user = null;

	public void registerUser(User user);

	public void removeUser(User user);

	public void notifyUser();

}
@@ -18,16 +18,336 @@
 attern;%0A
+/*%0A%7C==============================================================%0A%7C%0A%7C--------------------------------------------------------------%0A%7C%09The Administrator is the 'Subject' in this pattern%0A%7C--------------------------------------------------------------%0A%7C%0A%7C==============================================================%0A%7C%0A*/
 %0Apublic 
@@ -497,8 +497,9 @@
 er();%0A%0A%7D
+%0A

Add comments