正在加载图片...
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?”);
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有