ResponseBoX r The ResponseBox class is used to get a YES or NO response from the user MainWindow mainWindow new MainWindow()i ResponseBox yesNOBOX new ResponseBox( mainWindow yesNoBox prompt(Do you love Java?m)i Do you love Java? No C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 7-18© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 18 ResponseBox The ResponseBox class is used to get a YES or NO response from the user. MainWindow mainWindow = new MainWindow( ); ResponseBox yesNoBox = new ResponseBox( mainWindow ); yesNoBox.prompt( “Do you love Java?”);