Chapter 5
Flow of Control, Part 1: Selection
CHAPTER CONTENTS
5.4 Selection Using if/else if
5.5 Sequential and Nested if/else Statements
5.5.1 Sequential if/else Statements
5.5.2 Nested if/else Statements
5.6 Testing Techniques for if/else Statements
5.7 Programming Activity 1: Working with if/else
5.8 Comparing Floating-Point Numbers
5.9.2 String Comparison Methods
5.10 The Conditional Operator (?:)
Get Java Illuminated, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.