正在加载图片...
Control flow of nested- if statement false true inner if testscore >a 70? messageBox. show false studentAge true (You did not 10? pass"); message Box. show messageBox. show C You did pass ) CYou did a great job") C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 6-15© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 6 - 15 Control Flow of Nested-if Statement messageBox.show ("You did not pass"); false inner if messageBox.show ("You did pass"); false testScore >= 70 ? true studentAge < 10 ? messageBox.show ("You did a great job"); true
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有