正在加载图片...
Response Box- Sample Usage r Here's a typical use of ResponseBox choice yesNoBox prompt ("Do you want to start the computation? )i while (choice = ResponseBox YES)( 7/code for computation comes here choice yesNoBox prompt ("Repeat another computation?)i C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 7-20© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 20 ResponseBox – Sample Usage Here’s a typical use of ResponseBox: choice = yesNoBox.prompt ("Do you want to start the computation?"); while (choice == ResponseBox.YES) { //code for computation comes here choice = yesNoBox.prompt ("Repeat another computation?"); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有