-
Notifications
You must be signed in to change notification settings - Fork 0
Switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement. The switch statement works with byte, short, int, long, enum types, String and some wrapper types like Byte, Short, Int, and Long. Since Java 7, you can use strings in the switch statement.
License
VaibhavMojidra/Java---Demo-Switch-Case
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
Switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement. The switch statement works with byte, short, int, long, enum types, String and some wrapper types like Byte, Short, Int, and Long. Since Java 7, you can use strings in the switch statement.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published