/**
 * An example that illustrates the use of checklists.
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class Fragments {
    
    /**
     * A method to hold the fragments.
     *
     * @param args  The command line arguments
     */
    public static void main(String[] args) {
        String[] checklist = new String[10];
        String[] accomplished = new String[10];

        int     index = 5;
//[0
        boolean done  = false;        
        for (int a = 0; a < accomplished.length; a++) {
            if (accomplished[a].equals(checklist[index])) {
                done = true;
                break;
            }
        }
//]0
    }
}

