import structure5.*; class BIteratorTest { public static void main(String[] args) { BIterator b = new BIterator(1234); // This "works" but the number is backward // because we print starting from the least // significant bit. // We'll find a clever solution next class. for (String bit : b) { System.out.print(bit); } } }