Skip to content

Incorrect typos in Control Flow Statements #277

Description

@ngocnhan-tran1996

https://dev.java/learn/language-basics/controlling-flow/#break

Current:

You saw the unlabeled form in the previous discussion of the switch statement.

But the switch statement is covered in the next session.
Image

Expected:

You will see the unlabeled form in the next discussion of the switch statement.


https://dev.java/learn/language-basics/switch-expression/#producing-value

Current:

The yield statement is a statement that can be used in any case block of a switch statement. It comes with a value, that becomes the value of the enclosing switch statement.

Expected:

The yield statement is a statement that can be used in any case block of a switch expression. It comes with a value, that becomes the value of the enclosing switch expression.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions