• Home
  • About
  • Blog
  • Products
  • Forum
  • Support
  • Contact
Sun icon

Sunbelt Computer Software

PL/B Language Development and Support

  • Home
  • About
  • Blog
  • Products
  • Forum
  • Support
  • Contact
1.2.B Selection Statements - Learn.java
Skip Top Navigation Bar
Java Home
  • Why Java?
  • Learner's Corner
  • Teacher's Corner
  • Java Playground
  • Home
  • Getting Setup
  • Learn
  • Practice
  • Apply
  • APCSA Students
  • Other Resources

1.2.B Selection Statements

  • Using If Statements: Using if statements.

  • Using Nested If Statements: Using nested if statements.

  • Writing Equivalent if Statements: Writing equivalent if statements.

  • Using the Conditional Operator: Learn about the conditional operator and if statements

  • Switch Statements: Learn about switch statements

  • Switch Expressions - Determine a Value: Learn about switch expressions

Pattern Matching

  • Java Patterns and instanceof: Learn about patterns in Java

  • Java Patterns and Records: Learn about patterns in Java

  • Java Patterns and Unnamed Variables: Learn about patterns in Java

  • Java Patterns and Switch: Learn about patterns in Java

Copyright © 2026 Oracle and/or its affiliates. All rights reserved.
Terms of Use | Privacy | Trademarks

Oracle Home

© 2026 Sunbelt Computer Software