正在加载图片...
Chapter 7 objectives After you have read and studied this chapter, you should be able to e Implement repetition control in a program using while statements e Implement repetition control in a program using do-while statements e Implement repetition control in a program using for statements e Nest a loop repetition statement inside another repetition statement Choose the appropriate repetition control statement for a given task e Prompt the user for a yes-no reply using the ResponseBox class from the javabook package e Output formatted data using the Format class from the javabook package. (Optional) Write simple recursive methods C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7-2© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 2 Chapter 7 Objectives After you have read and studied this chapter, you should be able to Implement repetition control in a program using while statements. Implement repetition control in a program using do–while statements. Implement repetition control in a program using for statements. Nest a loop repetition statement inside another repetition statement. Choose the appropriate repetition control statement for a given task. Prompt the user for a yes–no reply using the ResponseBox class from the javabook package. Output formatted data using the Format class from the javabook package. (Optional) Write simple recursive methods
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有