Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Java Switch Case

Example Application: Switch Case

Java SwitchCase Example

switch (option) {
case 0:
	// TODO
	System.out.println("Case: 0");
	break;
case 1:
	// TODO
	System.out.println("Case: 1");
	break;
default:
	// TODO
	System.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

AltStyle によって変換されたページ (->オリジナル) /