Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

Java Switch Case

Example Application: Switch Case

Java SwitchCase Example

switch (option) {
case0:
// TODOSystem.out.println("Case: 0");
break;
case1:
// TODOSystem.out.println("Case: 1");
break;
default:
// TODOSystem.out.println(String.format("Case: Default (value: %d)", option));
break;
}

Some links for more in depth learning

About

Example Application: Switch Case

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages