import element.*; public class QuitLoop { public static void main(String args[]) { String word; do { // read a word from the keyboard } while (!word.equals("quit")); } }