Examples of Observer2


Examples of br.unicamp.ic.example.observer.Observer2

public class Main {
  public static void main(String args[]) {
    Subject s = new Subject();
    Observer1 o1 = new Observer1(s);
    Observer2 o2 = new Observer2(s);
   
    s.change_state();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.