### Question:
VarNameIterator implements Iterator<String> { public String next() { String rv; do { rv = produceNext(); } while (disallowed.contains(rv)); return rv; } VarNameIterator();  VarNameIterator(String prefix); void disallow(String str); boolean hasNext(); String next(); void remove();  }### Answer:
@Test public void Next() { Iterator<String> it = new VarNameIterator(); for (int i = 0; i < 100; i++) { System.out.println(it.next()); } }