Default CaseHandling no match. Default Case The default keyword specifies the code to run if there is no case match. The default case does not have to be the last case in a switch block. Exampledefault: text = "Looking forward to the Weekend";Try it Yourself PreviousNext