19 lines
358 B
Java
Raw Normal View History

2014-08-22 21:57:54 +03:00
package com.iluwatar;
public class App
{
public static void main( String[] args )
{
Weather weather = new Weather();
weather.addObserver(new Orcs());
weather.addObserver(new Hobbits());
weather.timePasses();
weather.timePasses();
weather.timePasses();
weather.timePasses();
}
}