Exemplo n.º 1
0
 /** Main lifecycle: print 50 even numbers using the even object. */
 public void run() {
   for (int i = 0; i < 50; i++) {
     System.out.println(m_even.next());
   }
 }