< Java Programming < Keywords
default
is a Java keyword.
This is an optional part of the switch
statement, which only executes if none of the above cases are matched.
See also:
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.