Switch – case in Java

Characteristic of the Switch-case A switch-case statement is used to check the value of a variable with the other values; Each different value is one case. If the case is correct, then the code block of that case will be executed. If all of the cases are wrong, then the default case will be performed.... Continue Reading →

Create a website or blog at WordPress.com

Up ↑