A good answer might be:

No---the diagram leaves that relationship out.

Skeleton of the ButtonQuitter Program

Here is the program, designed according to the relationship diagram:

import ____________; 
import java.awt.event.*;

public class buttonQuitter extends _____ implements _____________
{
  Button bQuit = new Button("Click here to Exit"); // Construct a Button.

  buttonQuitter() // constructor for buttonQuitter
  {
    ________( new FlowLayout() );        // Choose the layout manager. 
    bQuit._________________( this );     // Register the buttonQuitter object 
                                         //     as the listener for its Button.
    ___( bQuit );                        // Add the button to the buttonQuitter object.
  }
   
  public void _______________( ActionEvent evt)
  {
    System.exit( 0 );
  }

  public static void main ( String[] args )
  {
    buttonQuitter bQuit = new buttonQuitter();
    
    bQuit.setSize( 200, 150 );     
    bQuit.__________( true );      

  }
}

QUESTION 17:

There seem to be some blanks. How many can you fill in correctly?

Click Here after you have answered the question